-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·39 lines (35 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
# 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="HarmoniaCosmo",
version=version,
author="Mike S Wang",
author_email="mike.wang@port.ac.uk",
license="GPLv3",
description="Hybrid-basis inference for large-scale galaxy clustering.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/MikeSWang/Harmonia/",
packages=setuptools.find_packages(),
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/Harmonia",
"Source": "https://github.com/MikeSWang/Harmonia/",
},
)