forked from EhsanGharibNezhad/TelescopeML
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
60 lines (53 loc) · 2.21 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
from setuptools import setup, find_packages
import re
# from codecs import open
# read the contents of your README file
from pathlib import Path
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()
#
# with open(this_directory/"requirements.txt", "r") as fh:
# install_requires = fh.readlines()
# Read the __version__.py file
with open('TelescopeML/__version__.py', 'r') as f:
vf = f.read()
# Obtain version from read-in __version__.py file
version = re.search(r"^_*version_* = ['\"]([^'\"]*)['\"]", vf, re.M).group(1)
setup(
name='TelescopeML',
version = version, # MAJOR.MINOR.PATCH
description = 'An End-to-End Python Package for Interpreting Telescope Datasets through Training Machine Learning Models, Generating Statistical Reports, and Visualizing Results',
long_description = long_description,
long_description_content_type='text/markdown',
author = 'Ehsan (Sam) Gharib-Nezhad',
author_email = '[email protected]',
url = 'https://ehsangharibnezhad.github.io/TelescopeML',
license = 'GPL-3.0',
download_url = 'https://github.com/EhsanGharibNezhad/TelescopeML',
classifiers = [
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: OS Independent' ,
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering :: Astronomy',
'Topic :: Software Development :: Libraries :: Python Modules'
],
packages=find_packages(exclude=('tests', 'docs')),
install_requires=['numpy==1.26.1',
'bokeh',
'pandas==2.0.3',
'astropy',
'matplotlib',
'seaborn==0.12.2',
'sphinx==7.2.6',
'scipy==1.11.1',
'keras==2.14.0',
'tensorflow==2.14.0',
'jupyterlab',
'sphinx',
'spectres==2.2.0',
'scikit-learn==1.3.0',
],
zip_safe = False,
)