-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup.py
41 lines (38 loc) · 1.26 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
import setuptools
with open("README.md", "rb") as fh:
long_description = fh.read().decode("UTF-8")
# Extract code version from __init__.py
def get_version():
with open('surfinBH/surfinBH.py') as f:
for line in f.readlines():
if "__version__" in line:
return line.split('"')[1]
setuptools.setup(
name="surfinBH",
version=get_version(),
author="Vijay Varma",
author_email="[email protected]",
description="Surrogate Final BH properties.",
keywords='black-holes gravitational-waves Gaussian-process-regression',
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/vijayvarma392/surfinBH",
packages=setuptools.find_packages(),
install_requires=[
'numpy',
'scipy',
'h5py',
'scikit-learn>=0.19.1',
'lalsuite>=6.70',
'gwsurrogate',
],
classifiers=[
"Intended Audience :: Science/Research",
"Natural Language :: English",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Astronomy",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Operating System :: OS Independent",
],
)