diff --git a/kosmorrolib/core.py b/kosmorrolib/core.py index 737cb02..c093ddc 100644 --- a/kosmorrolib/core.py +++ b/kosmorrolib/core.py @@ -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'] diff --git a/kosmorrolib/version.py b/kosmorrolib/version.py new file mode 100644 index 0000000..d037d86 --- /dev/null +++ b/kosmorrolib/version.py @@ -0,0 +1,19 @@ +#!/usr/bin/env python3 + +# Kosmorro - Compute The Next Ephemerides +# Copyright (C) 2019 Jérôme Deuchnord +# +# 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 . + +VERSION = '0.2.0' \ No newline at end of file diff --git a/setup.py b/setup.py index 1fc3b44..1157e77 100644 --- a/setup.py +++ b/setup.py @@ -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()