Skip to content

Commit

Permalink
Cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
hpparvi committed Jan 23, 2020
1 parent 10c7e24 commit e56752b
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 6 deletions.
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ xarray
tables
astropy
matplotlib
tqdm
tqdm
semantic_version
8 changes: 3 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@

from setuptools import setup, find_packages

version = '2.0'
from version import version

setup(name='PyTransit',
version=version,
version=str(version),
description='Fast and painless exoplanet transit light curve modelling.',
author='Hannu Parviainen',
author_email='[email protected]',
Expand All @@ -29,7 +29,7 @@
'pytransit.utils', 'pytransit.param', 'pytransit.contamination','pytransit.lpf', 'pytransit.lpf.tess',
'pytransit.lpf.baselines'],
package_data={'':['*.cl'], 'pytransit.contamination':['data/*']},
install_requires=["numpy", "numba", "scipy", "pandas", "xarray", "tables"],
install_requires=["numpy", "numba", "scipy", "pandas", "xarray", "tables", "semantic_version"],
include_package_data=True,
license='GPLv2',
classifiers=[
Expand All @@ -40,8 +40,6 @@
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Fortran",
"Programming Language :: Other"
],
keywords='astronomy astrophysics exoplanets'
)
19 changes: 19 additions & 0 deletions version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# PyTransit: fast and easy exoplanet transit modelling in Python.
# Copyright (C) 2010-2020 Hannu Parviainen
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.

from semantic_version import Version

version = Version('2.0.0-beta')

0 comments on commit e56752b

Please sign in to comment.