forked from TOMToolkit/tom_base
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
64 lines (62 loc) · 2.17 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
from setuptools import setup, find_packages
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='tomtoolkit',
description='The TOM Toolkit and base modules',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://tomtoolkit.github.io',
author='TOM Toolkit Project',
author_email='[email protected]',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Topic :: Scientific/Engineering :: Astronomy',
'Topic :: Scientific/Engineering :: Physics'
],
keywords=['tomtoolkit', 'astronomy', 'astrophysics', 'cosmology', 'science', 'fits', 'observatory'],
packages=find_packages(),
use_scm_version=True,
setup_requires=['setuptools_scm', 'wheel'],
install_requires=[
'astroquery>=0.4.2',
'astroplan~=0.8',
'astropy>=5.0',
'beautifulsoup4~=4.9',
'django>=3.1,<5', # TOM Toolkit requires db math functions
'djangorestframework~=3.12',
'django-bootstrap4>=3,<24',
'django-contrib-comments~=2.0', # Earlier version are incompatible with Django >= 3.0
'django-crispy-forms~=2.0',
'crispy-bootstrap4~=2022.0',
'django-extensions~=3.1',
'django-filter>=21,<24',
'django-gravatar2~=1.4',
'django-guardian~=2.3',
'fits2image>=0.4.2',
'Markdown~=3.4', # django-rest-framework doc headers require this to support Markdown
'numpy~=1.20',
'pillow~=9.2',
'plotly~=5.0',
'python-dateutil~=2.8',
'requests~=2.25',
'specutils~=1.8',
],
extras_require={
'test': ['factory_boy~=3.2.1'],
'docs': [
'recommonmark~=0.7',
'sphinx>=4,<7',
'tom_antares',
'tom_scimma'
]
},
include_package_data=True,
)