From 29ecc75f46b673fefbfb2cae15323045e5fd6166 Mon Sep 17 00:00:00 2001 From: markkho Date: Thu, 21 Oct 2021 11:49:33 -0400 Subject: [PATCH] Update setup, requirements, license --- LICENSE.txt | 9 +++++++++ requirements.txt | 4 ++-- setup.cfg | 3 +++ setup.py | 52 ++++++++++++++++++++++++++++++++++-------------- 4 files changed, 51 insertions(+), 17 deletions(-) create mode 100644 LICENSE.txt create mode 100644 setup.cfg diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 00000000..c40b32ac --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,9 @@ +The MIT License (MIT) + +Copyright (c) 2021 Mark K. Ho + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/requirements.txt b/requirements.txt index df1890aa..398e532d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,5 +5,5 @@ torch tqdm pandas sparse -git+https://github.com/Marco-Sulla/python-frozendict@v2.0.1 -termcolor \ No newline at end of file +frozendict +termcolor diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 00000000..ed1700c6 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,3 @@ +[metadata] +long_description = file: README.md +long_description_content_type = text/markdown diff --git a/setup.py b/setup.py index 10af6384..94e5ecea 100644 --- a/setup.py +++ b/setup.py @@ -4,18 +4,40 @@ def readme(): with open('README.md') as f: return f.read() -setup(name='msdm', - version='0.4', - description='Models of sequential decision making', - url='https://github.com/markkho/msdm', - author="Mark Ho", - author_email='mark.ho.cs@gmail.com', - license='MIT', - packages=find_packages(), - install_requires=[ - 'numpy', 'matplotlib', 'scipy', 'torch', 'tqdm', 'sparse', 'termcolor', - 'frozendict @ git+https://github.com/Marco-Sulla/python-frozendict@v2.0.1' - ], - test_suite='nose.collector', - tests_require=['nose'], - zip_safe=False) +setup( + name='msdm', + version='0.4', + description='Models of sequential decision making', + keywords = [ + 'reinforcement learning', + 'planning', + 'cognitive science' + ], + url='https://github.com/markkho/msdm', + download_url = '', + author="Mark Ho", + author_email='mark.ho.cs@gmail.com', + license='MIT', + packages=find_packages(), + install_requires=[ + 'numpy', + 'matplotlib', + 'scipy', + 'torch', + 'tqdm', + 'sparse', + 'termcolor', + 'frozendict' + ], + test_suite='nose.collector', + tests_require=['nose'], + zip_safe=False, + classifiers=[ + 'Development Status :: 3 - Alpha', + 'License :: OSI Approved :: MIT License', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', + ], +)