-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
34 lines (30 loc) · 1.22 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
import os
import re
from setuptools import setup
dir_path = os.path.dirname(os.path.realpath(__file__))
init_string = open(os.path.join(dir_path, 'QFA', '__init__.py')).read()
VERS = r"^__version__ = ['\"]([^'\"]*)['\"]"
mo = re.search(VERS, init_string, re.M)
__version__ = mo.group(1)
setup(
name='QFA',
url='https://github.com/ZechangSun/QFA',
version=__version__,
author='Zechang Sun',
author_email='[email protected]',
packages=["QFA"],
license="MIT",
description="A generative model for quasar spectra",
long_description=open("README.md").read(),
package_data={"": ["REAMDME.md", "LICENSE", "AUTHORS.md"]},
include_package_data=True,
install_requires=["numpy", "torch", "yacs", "typing"],
keywords=["quasar continuum", "factor analysis", "bayesian", "machine learning", "lya forest"],
classifiers=["Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3.10",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Astronomy",
"Intended Audience :: Science/Research"]
)