diff --git a/source/python/LICENSE b/source/python/LICENSE new file mode 100644 index 00000000..cb43597e --- /dev/null +++ b/source/python/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2019-2022 Don Cross + +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/source/python/pyproject.toml b/source/python/pyproject.toml new file mode 100644 index 00000000..374b58cb --- /dev/null +++ b/source/python/pyproject.toml @@ -0,0 +1,6 @@ +[build-system] +requires = [ + "setuptools>=42", + "wheel" +] +build-backend = "setuptools.build_meta" diff --git a/source/python/setup.cfg b/source/python/setup.cfg new file mode 100644 index 00000000..a2d8121b --- /dev/null +++ b/source/python/setup.cfg @@ -0,0 +1,5 @@ +[sdist] +formats = zip + +[metadata] +license_file = LICENSE diff --git a/source/python/setup.py b/source/python/setup.py new file mode 100644 index 00000000..bf814347 --- /dev/null +++ b/source/python/setup.py @@ -0,0 +1,18 @@ +from setuptools import setup + +setup( + name='astronomy-engine', + version='1.0.1', + description='Astronomy calculation for Sun, Moon, and planets.', + long_description=open('README.md').read(), + long_description_content_type='text/markdown', + author='Donald Cross', + author_email='cosinekitty@gmail.com', + url='https://github.com/cosinekitty/astronomy', + license=open('LICENSE').read(), + classifiers=[ + "Intended Audience :: Science/Research", + "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3.5" + ] +)