-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup.py
39 lines (35 loc) · 1.35 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
import setuptools
def get_readme():
with open("README.md", "rt", encoding="utf-8") as fh:
return fh.read()
def get_requirements():
with open("requirements.txt", "rt", encoding="utf-8") as fh:
return [line.strip() for line in fh.readlines()]
def get_version():
with open("cellhint/__init__.py", "rt", encoding="utf-8") as fh:
for line in fh.readlines():
if line.startswith('__version__'):
delim = '"' if '"' in line else "'"
return line.split(delim)[1].strip()
raise RuntimeError("Unable to find version string in cellhint/__init__.py")
setuptools.setup(
name="cellhint",
version=get_version(),
author="Chuan Xu",
author_email="[email protected]",
description="A tool for semi-automatic cell type harmonization and integration",
long_description=get_readme(),
long_description_content_type="text/markdown",
url="https://github.com/Teichlab/cellhint",
packages=setuptools.find_packages(),
install_requires=get_requirements(),
include_package_data=True,
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Development Status :: 4 - Beta",
],
python_requires='>=3.6',
)