您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

61 行
2.0 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 _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. "babel",
  46. ],
  47. classifiers=[
  48. "Development Status :: 3 - Alpha",
  49. "Operating System :: POSIX :: Linux",
  50. "Operating System :: MacOS :: MacOS X",
  51. "Environment :: Console",
  52. "Topic :: Scientific/Engineering :: Astronomy",
  53. ],
  54. python_requires=">=3.7",
  55. )