-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·42 lines (38 loc) · 1.33 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
# pylint: disable=missing-module-docstring
import setuptools
with open("README.md", 'r') as description:
long_description = description.read()
with open("requirements.txt", 'r') as dependencies:
requirements = [pkg.strip() for pkg in dependencies]
with open("version.txt", 'r') as version_info:
version_tag, version = [v.strip() for v in version_info]
if version_tag == 'latest':
branch = 'master'
else:
branch = version_tag
setuptools.setup(
name="HorizonGRound",
version=version,
author="Mike S Wang",
author_email="mike.wang@port.ac.uk",
license="GPLv3",
description=(
"Forward-modelling of relativistic effects "
"from the tracer luminosity function."
),
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/MikeSWang/HorizonGRound/",
packages=['horizonground', 'horizonground.tests'],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
],
install_requires=requirements,
python_requires='>=3.6',
project_urls={
"Documentation": "https://mikeswang.github.io/HorizonGRound",
"Source": "https://github.com/MikeSWang/HorizonGRound/",
},
)