-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
69 lines (60 loc) · 1.8 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#!/usr/bin/env python
import os
import sys
from setuptools import setup
exec(open("quantpi/__about__.py").read())
if sys.argv[-1] == "publish":
os.system("python setup.py sdist upload")
sys.exit()
with open("README.md") as f:
long_description = f.read()
packages = ["quantpi"]
package_data = {
"quantpi": [
"quantpi/config/*.yaml",
"quantpi/envs/*.yaml",
"quantpi/snakefiles/*.smk",
"quantpi/rules/*.smk",
"quantpi/wrappers/*.py",
"quantpi/*.py",
]
}
data_files = [(".", ["LICENSE", "README.md"])]
entry_points = {"console_scripts": ["quantpi=quantpi.corer:main"]}
requires = [
req.strip()
for req in open("requirements.txt", "r").readlines()
if not req.startswith("#")
]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Scientific/Engineering :: Bio-Informatics",
]
setup(
name="quantpi",
version=__version__,
author=__author__,
author_email="alienchuj@gmail.com",
url="https://github.com/ohmeta/quantpi",
description="microbiome profiling pipeline",
long_description_content_type="text/markdown",
long_description=long_description,
entry_points=entry_points,
packages=packages,
package_data=package_data,
data_files=data_files,
include_package_data=True,
install_requires=requires,
license="GPLv3+",
classifiers=classifiers,
)