-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
executable file
·41 lines (38 loc) · 1.1 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
from setuptools import setup
import re
# taken from https://stackoverflow.com/questions/458550/standard-way-to-embed-version-into-python-package
VERSIONFILE = "icat/_version.py"
verstrline = open(VERSIONFILE, "rt").read()
VSRE = r"^__version__ = ['\"]([^'\"]*)['\"]"
mo = re.search(VSRE, verstrline, re.M)
if mo:
verstr = mo.group(1)
else:
raise RuntimeError("Unable to find version string in %s." % (VERSIONFILE,))
with open("README.md", "r") as f:
long_description = f.read()
setup(
name="icat-sc",
version=verstr,
description="Identify cell states across treatments in single-cell RNA sequencing experiments",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/BradhamLab/icat",
author="Dakota Y. Hawkins",
author_email="[email protected]",
install_requires=[
"apricot-select",
"igraph",
"ncfs",
"numpy",
"pandas",
"scanpy",
"scikit-learn",
"scipy",
"louvain",
"sslouvain",
],
license="BSD",
packages=["icat"],
zip_safe=False,
)