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