Przeglądaj źródła

fix: Move version constant to its own file to prevent sgp4 module failing in the AUR

tags/v0.2.1
Jérôme Deuchnord 4 lat temu
rodzic
commit
9a0c9d3ae3
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: BC6F3C345B7D33B0
3 zmienionych plików z 20 dodań i 2 usunięć
  1. +0
    -1
      kosmorrolib/core.py
  2. +19
    -0
      kosmorrolib/version.py
  3. +1
    -1
      setup.py

+ 0
- 1
kosmorrolib/core.py Wyświetl plik

@@ -22,7 +22,6 @@ from skyfield.api import Loader

from .data import Star, Planet, Satellite

VERSION = '0.2.0'
CACHE_FOLDER = str(Path.home()) + '/.kosmorro-cache'

MONTHS = ['JAN', 'FEB', 'MAR', 'APR', 'MAY', 'JUN', 'JUL', 'AUG', 'SEP', 'OCT', 'NOV', 'DEC']


+ 19
- 0
kosmorrolib/version.py Wyświetl plik

@@ -0,0 +1,19 @@
#!/usr/bin/env python3

# Kosmorro - Compute The Next Ephemerides
# Copyright (C) 2019 Jérôme Deuchnord <jerome@deuchnord.fr>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.

VERSION = '0.2.0'

+ 1
- 1
setup.py Wyświetl plik

@@ -19,7 +19,7 @@
import pathlib
from setuptools import setup, find_packages

from kosmorrolib.core import VERSION
from kosmorrolib.version import VERSION

HERE = pathlib.Path(__file__).parent
README = (HERE / 'README.md').read_text()


Ładowanie…
Anuluj
Zapisz