-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
62 lines (56 loc) · 1.74 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
# coding: utf-8
from setuptools import setup, find_packages
from setuptools.extension import Extension
from distutils.extension import Extension
from codecs import open
from os import path
import glob
import re
import sys
here = path.abspath(path.dirname("__file__"))
with open(path.join(here, "DESCRIPTION.md"), encoding="utf-8") as description:
description = long_description = description.read()
name="stag"
version = [line.strip().split(" ")[-1] for line in open("stag/__init__.py") if line.startswith("__version__")][0]
if sys.version_info.major != 3:
raise EnvironmentError("""{toolname} is a python module that requires python3, and is not compatible with python2.""".format(toolname=name))
setup(
name=name,
version=version,
description="stag - Supervised Taxonomic Assignment of marker Genes",
long_description=long_description,
url="https://github.com/zellerlab/stag",
author="Alessio Milanese",
author_email="milanese.alessio@gmail.com",
license="GPLv3+",
classifiers=[
"Development Status :: 4 - Beta",
"Topic :: Scientific Engineering :: Bio/Informatics",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.7"
],
zip_safe=False,
keywords="",
packages=find_packages(exclude=["test"]),
install_requires=[
"h5py",
"regex",
"scikit-learn",
"numpy",
"pandas"
],
entry_points={
"console_scripts": [
"stag=stag.__main__:main",
"stag_test=stag.stag_test:main",
"stag_test_short=stag.stag_test_short:main"
],
},
scripts=[],
package_data={
"stag.test": ["gene.hmm", "sequences.fasta", "sequences.taxonomy"]
},
include_package_data=True,
data_files=[],
)