25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

setup.py 1.9 KiB

5 yıl önce
5 yıl önce
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. ],
  39. install_requires=['skyfield>=1.17.0,<2.0.0', 'tabulate', 'numpy>=1.17.0,<2.0.0', 'termcolor'],
  40. classifiers=[
  41. 'Development Status :: 3 - Alpha',
  42. 'Operating System :: POSIX :: Linux',
  43. 'Operating System :: MacOS :: MacOS X',
  44. 'Environment :: Console',
  45. 'Topic :: Scientific/Engineering :: Astronomy'
  46. ],
  47. python_requires='>=3.7'
  48. )