diff --git a/LICENSE b/LICENSE index 25b77ce2a..92a5e44d9 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2016 The Delphi Group at Carnegie Mellon University +Copyright (c) 2018 The Delphi Group at Carnegie Mellon University Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -19,4 +19,3 @@ 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/src/client/packaging/pypi/LICENSE b/src/client/packaging/pypi/LICENSE new file mode 100644 index 000000000..92a5e44d9 --- /dev/null +++ b/src/client/packaging/pypi/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2018 The Delphi Group at Carnegie Mellon University + +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/src/client/packaging/pypi/README.md b/src/client/packaging/pypi/README.md new file mode 100644 index 000000000..ccdc90379 --- /dev/null +++ b/src/client/packaging/pypi/README.md @@ -0,0 +1,6 @@ +# Delphi Epidata API Client + +This package provides a programmatic interface to +[Delphi](https://delphi.midas.cs.cmu.edu/)'s epidemiological data ("epidata") +API. Source code and usage information can be found at +[https://github.com/cmu-delphi/delphi-epidata](https://github.com/cmu-delphi/delphi-epidata). diff --git a/src/client/packaging/pypi/delphi_epidata/__init__.py b/src/client/packaging/pypi/delphi_epidata/__init__.py new file mode 100644 index 000000000..ac89d7b07 --- /dev/null +++ b/src/client/packaging/pypi/delphi_epidata/__init__.py @@ -0,0 +1,4 @@ +from .delphi_epidata import Epidata + +name = 'delphi_epidata' +__version__ = '0.0.4' diff --git a/src/client/packaging/pypi/setup.py b/src/client/packaging/pypi/setup.py new file mode 100644 index 000000000..7d92dae36 --- /dev/null +++ b/src/client/packaging/pypi/setup.py @@ -0,0 +1,27 @@ +import setuptools + +with open('README.md', 'r') as f: + long_description = f.read() + +setuptools.setup( + name='delphi_epidata', + version='0.0.4', + author='David Farrow', + author_email='dfarrow0@gmail.com', + description='A programmatic interface to Delphi\'s Epidata API.', + long_description=long_description, + long_description_content_type='text/markdown', + url='https://github.com/cmu-delphi/delphi-epidata', + packages=setuptools.find_packages(), + install_requires=[ + 'requests>=2.7.0', + ], + classifiers=[ + 'Programming Language :: Python', + 'License :: OSI Approved :: MIT License', + 'Operating System :: OS Independent', + 'Intended Audience :: Science/Research', + 'Natural Language :: English', + 'Topic :: Scientific/Engineering :: Bio-Informatics', + ], +)