A library that computes the ephemerides.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

43 lignes
1.6 KiB

  1. #!/usr/bin/env python3
  2. # Kosmorrolib - The Library To Compute Your Ephemerides
  3. # Copyright (C) 2021 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. from core import alert_deprecation
  18. from sys import version_info
  19. python_version = (version_info.major, version_info.minor)
  20. msg_python = (
  21. '\nOn Python 3.7, you can also use the "importlib-metadata" package.'
  22. if python_version == (3, 7)
  23. else ""
  24. )
  25. alert_deprecation(
  26. 'Module "kosmorrolib.__version__" is deprecated since version 1.1. '
  27. "Use the importlib.metadata module provided by Python 3.8+: "
  28. "https://docs.python.org/3/library/importlib.metadata.html." + msg_python
  29. )
  30. __title__ = "kosmorrolib"
  31. __description__ = "A library to compute your ephemerides"
  32. __url__ = "http://kosmorro.space/lib"
  33. __version__ = "1.0.7"
  34. __author__ = "Jérôme Deuchnord"
  35. __author_email__ = "jerome@deuchnord.fr"
  36. __license__ = "AGPL-v3"
  37. __copyright__ = "2021 - Jérôme Deuchnord"