-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsetup.py
45 lines (40 loc) · 1.39 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
"""setup for gw_eccentricity."""
import setuptools
with open("README.md", "rb") as fh:
long_description = fh.read().decode("UTF-8")
# Extract code version from gw_eccentricity.py
def get_version():
"""Get package version."""
with open('gw_eccentricity/gw_eccentricity.py') as f:
for line in f.readlines():
if "__version__" in line:
return line.split('"')[1]
setuptools.setup(
name="gw_eccentricity",
version=get_version(),
author="Md Arif Shaikh, Vijay Varma, Harald Pfeiffer",
author_email="arifshaikh.astro@gmail.com, vijay.varma392@gmail.com",
description="Defining eccentricity for gravitational wave astronomy.",
keywords='black-holes gravitational-waves',
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/vijayvarma392/gw_eccentricity",
packages=setuptools.find_packages(),
install_requires=[
'numpy',
'scipy',
'h5py',
'lalsuite',
'sxs',
'scri'
],
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",
],
)