-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
39 lines (36 loc) · 1.25 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import setuptools
import json
with open('README.md', 'r') as f:
long_description = f.read()
with open('requirements.txt', 'r') as f:
requirements = f.read().strip('\n').split('\n')
with open('omegapy/package.json', 'r') as f:
data_json = json.load(f)
package_data = {
'': ['OMEGA_dataref/*', 'res_findcube/*', 'package.json'],
}
setuptools.setup(
name='omegapy',
version=data_json['version'],
author='Aurélien Stcherbinine',
author_email='[email protected]',
description='Python tools for OMEGA/MEx observations analysis',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://astcherbinine.github.io/omegapy',
project_urls={
'Source' : 'https://github.com/AStcherbinine/omegapy',
},
packages=setuptools.find_packages(),
package_data=package_data,
python_requires='>='+data_json['pythonVersionMin'],
setup_requires=['wheel'],
install_requires=requirements,
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Astronomy'
]
)