-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
50 lines (42 loc) · 1.68 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
50
from setuptools import find_packages, setup
with open("README.rst", mode="r", encoding="utf-8") as fh:
readme = fh.read()
with open("CHANGELOG.rst", mode="r", encoding="utf-8") as fh:
changes = fh.read()
def parse_requirements(filename):
"""Load requirements from a pip requirements file"""
with open(filename, mode="r", encoding="utf-8") as fh:
lines = []
for line in fh:
line.strip()
if line and not line.startswith("#"):
lines.append(line)
return lines
requirements = parse_requirements("requirements.txt")
if __name__ == "__main__":
setup(
name="ctxcore",
use_scm_version=True,
setup_requires=["setuptools_scm"],
description="Core functions for pycisTarget and the SCENIC tool suite",
long_description="\n\n".join([readme, changes]),
license="GNU General Public License v3",
url="https://github.com/aertslab/ctxcore",
author="Bram Van de Sande, Gert Hulselmans",
maintainer="Gert Hulselmans",
maintainer_email="gert.hulselmans@kuleuven.be",
install_requires=requirements,
keywords=["ctxcore", "cisTarget", "pycisTarget", "SCENIC", "pySCENIC", "pycisTopic"],
include_package_data=True,
package_dir={"": "src"},
packages=find_packages("src"),
zip_safe=False,
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
)