forked from zktuong/dandelion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
52 lines (49 loc) · 1.92 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
51
52
from setuptools import setup, find_packages
with open("README.md", "r") as readme_file:
readme = readme_file.read()
with open("requirements.txt", "rt", encoding="utf-8") as fh:
requirements = [line.strip() for line in fh.readlines()]
setup(
name="sc-dandelion",
use_scm_version={
"write_to": "dandelion/logging/version.py",
"write_to_template": "# coding: utf-8\n# file generated by setuptools_scm\n# don't change, don't track in version control\n__version__ = '{version}'.split('+')[0]",
"tag_regex": r"^(?P<prefix>v)?(?P<version>[^\+]+)(?P<suffix>.*)?$",
},
author="zktuong",
author_email="[email protected]",
description="sc-TCR/BCR-seq analysis tool",
long_description=readme,
long_description_content_type="text/markdown",
url="https://github.com/zktuong/dandelion/",
packages=find_packages(),
setup_requires=["setuptools>=45", "wheel", "setuptools_scm[toml]>=6.0"],
install_requires=requirements,
extras_require={
"docs": [
"airr",
"biopython",
"changeo",
"presto",
"pyyaml",
"yamlordereddictloader",
"sphinx<7", # see issue at https://github.com/readthedocs/readthedocs.org/issues/10279
"nbsphinx<=0.9.2",
"sphinx-autodoc-typehints<=1.24.1",
"sphinx_rtd_theme<=1.2.2",
"readthedocs-sphinx-ext<=2.2.3",
"recommonmark<=0.7.1",
]
},
package_data={"dandelion": ["bin/tigger-genotype.R"]},
data_files=[("bin", ["bin/tigger-genotype.R"])],
include_package_data=True,
classifiers=[
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
],
zip_safe=False,
)