-
Notifications
You must be signed in to change notification settings - Fork 16
/
setup.py
49 lines (46 loc) · 1.51 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
'''
Standard setup.py to upload the code on pypi.
Do:
python setup.py sdist bdist_wheel
twine upload dist/*
'''
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
# Extract code version from __init__.py
def get_version():
with open('binaryBHexp') as f:
for line in f.readlines():
if "__version__" in line:
return line.split('"')[1]
setuptools.setup(
name="binaryBHexp",
version=get_version(),
author="Vijay Varma",
author_email="[email protected]",
description="The binary Black Hole explorer (visualizations).",
keywords='black-holes gravitational-waves visualization',
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/vijayvarma392/binaryBHexp",
packages=setuptools.find_packages(),
include_package_data=True,
install_requires=[
'palettable',
'surfinBH',
'NRSur7dq2>=1.0.5',
'numpy<2', # At the time of checking (Aug 13, 2024) lal needs numpy<2
],
scripts=['binaryBHexp'],
classifiers=[
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Natural Language :: English",
"Topic :: Education",
"Topic :: Scientific/Engineering :: Visualization",
"Topic :: Scientific/Engineering :: Physics",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Operating System :: OS Independent",
],
)