-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
69 lines (61 loc) · 1.83 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("growpi/__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 = ["growpi"]
package_data = {
"growpi": [
"growpi/config/*.yaml",
"growpi/envs/*.yaml",
"growpi/snakefiles/*.smk",
"growpi/rules/*.smk",
"growpi/wrappers/*.py",
"growpi/data/*",
"growpi/*.py",
]
}
data_files = [(".", ["LICENSE", "README.md"])]
entry_points = {"console_scripts": ["growpi=growpi.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="growpi",
version=__version__,
author=__author__,
author_email="[email protected]",
url="https://github.com/ohmeta/growpi",
description="Microbial community grow rate 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,
)