From 6b9bbb9238f521d8b93cd8b9d332f36d66b7a138 Mon Sep 17 00:00:00 2001 From: Altair Gomes Date: Mon, 14 Jun 2021 18:20:02 -0300 Subject: [PATCH] Finishing release of v0.2 --- setup.py | 44 +++++++++++++++++++++++++++++++++++++++----- sora/__init__.py | 2 +- 2 files changed, 40 insertions(+), 6 deletions(-) diff --git a/setup.py b/setup.py index cbb6a36..11e3605 100644 --- a/setup.py +++ b/setup.py @@ -1,9 +1,43 @@ from setuptools import setup, find_packages +from os import path + +# read the contents of README.rst +this_directory = path.abspath(path.dirname(__file__)) +with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f: + long_description = f.read() setup( -name='sora', -version='0.2dev', -packages=find_packages(), -license=open('LICENSE', encoding="utf-8").read(), -long_description=open('README.md', encoding="utf-8").read(), + name='sora-astro', + packages=find_packages(), + version='0.2', + license='MIT', + description='Stellar Occultation Library', + long_description=long_description, + long_description_content_type='text/markdown', + author='SORA Team', + author_email='rio.occteam@gmail.com', + url='https://github.com/riogroup/SORA', + keywords=['science', 'astronomy', 'occultation'], + install_requires=[ + 'numpy>=1.18', + 'pyerfa>=2.0', + 'astropy>=4.0', + 'astroquery>=0.4.1', + 'spiceypy>=3.0.2', + 'matplotlib>=3.2', + 'scipy>=1.4.1', + 'requests', + ], + python_requires=">=3.7, <4", + classifiers=[ + 'Development Status :: 5 - Production/Stable', + 'Intended Audience :: Science/Research ', + 'License :: OSI Approved :: MIT License', + 'Programming Language :: Python :: 3.7', + 'Topic :: Scientific/Engineering :: Astronomy', + ], + project_urls={ + 'Bug Reports': 'https://github.com/riogroup/SORA/issues', + 'Documentation': 'https://sora.readthedocs.io/', + }, ) diff --git a/sora/__init__.py b/sora/__init__.py index da27dfa..0524873 100644 --- a/sora/__init__.py +++ b/sora/__init__.py @@ -5,6 +5,6 @@ from .star import Star from .occultation import Occultation -__version__ = '0.2dev' +__version__ = '0.2' print(f'SORA version: {__version__}')