You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

setup.py 2.0 KiB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. #!/usr/bin/env python3
  2. # Kosmorro - Compute The Next Ephemerides
  3. # Copyright (C) 2019 Jérôme Deuchnord <jerome@deuchnord.fr>
  4. #
  5. # This program is free software: you can redistribute it and/or modify
  6. # it under the terms of the GNU Affero General Public License as
  7. # published by the Free Software Foundation, either version 3 of the
  8. # License, or (at your option) any later version.
  9. #
  10. # This program is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. # GNU Affero General Public License for more details.
  14. #
  15. # You should have received a copy of the GNU Affero General Public License
  16. # along with this program. If not, see <https://www.gnu.org/licenses/>.
  17. import pathlib
  18. from setuptools import setup, find_packages
  19. from _kosmorro.__version__ import __version__
  20. HERE = pathlib.Path(__file__).parent
  21. README = (HERE / "README.md").read_text()
  22. setup(
  23. name="kosmorro",
  24. version=__version__,
  25. author="Jérôme Deuchnord",
  26. author_email="jerome@deuchnord.fr",
  27. url="http://kosmorro.space",
  28. license="AGPL-3.0",
  29. description="A program that computes the ephemerides.",
  30. long_description=README,
  31. long_description_content_type="text/markdown",
  32. keywords="kosmorro astronomy ephemerides ephemeris",
  33. packages=find_packages(),
  34. scripts=["kosmorro"],
  35. include_package_data=True,
  36. data_files=[
  37. ("man/man1", ["manpage/kosmorro.1"]),
  38. ("man/man7", ["manpage/kosmorro.7"]),
  39. ],
  40. install_requires=[
  41. "kosmorrolib",
  42. "tabulate",
  43. "termcolor",
  44. "python-dateutil",
  45. ],
  46. classifiers=[
  47. "Development Status :: 3 - Alpha",
  48. "Operating System :: POSIX :: Linux",
  49. "Operating System :: MacOS :: MacOS X",
  50. "Environment :: Console",
  51. "Topic :: Scientific/Engineering :: Astronomy",
  52. ],
  53. python_requires=">=3.7",
  54. )