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.
 
 
 
 

55 rivejä
1.9 KiB

  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 kosmorrolib.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=['skyfield>=1.17.0,<2.0.0', 'tabulate', 'numpy>=1.17.0,<2.0.0', 'termcolor', 'python-dateutil'],
  41. classifiers=[
  42. 'Development Status :: 3 - Alpha',
  43. 'Operating System :: POSIX :: Linux',
  44. 'Operating System :: MacOS :: MacOS X',
  45. 'Environment :: Console',
  46. 'Topic :: Scientific/Engineering :: Astronomy'
  47. ],
  48. python_requires='>=3.7'
  49. )