forked from tanghaibao/goatools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·65 lines (59 loc) · 1.79 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
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
"""Setup for PyPI usage."""
import os.path as op
from glob import glob
from setuptools import setup
from setup_helper import SetupHelper
import versioneer
NAME = "goatools"
CLASSIFIERS = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Bio-Informatics",
]
# Use the helper
HLPR = SetupHelper(initfile="goatools/__init__.py", readmefile="README.md")
SETUP_DIR = op.abspath(op.dirname(__file__))
REQUIREMENTS = [
x.strip() for x in open(op.join(SETUP_DIR, "requirements.txt")).readlines()
]
setup(
name=NAME,
version=versioneer.get_version(),
author=HLPR.author,
author_email=HLPR.email,
license=HLPR.license,
long_description=HLPR.long_description,
long_description_content_type="text/markdown",
cmdclass=versioneer.get_cmdclass(),
packages=[
NAME,
NAME + ".godag",
NAME + ".gosubdag",
NAME + ".gosubdag.plot",
NAME + ".gosubdag.rpt",
NAME + ".test_data",
NAME + ".test_data.sections",
NAME + ".test_data.cli",
NAME + ".cli",
NAME + ".rpt",
NAME + ".anno",
NAME + ".anno.init",
NAME + ".anno.extensions",
NAME + ".goea",
NAME + ".grouper",
NAME + ".parsers",
],
include_package_data=True,
package_data={"goatools.test_data.nbt_3102": ["*.*"]},
scripts=glob("scripts/*.py"),
classifiers=CLASSIFIERS,
url="http://github.com/tanghaibao/goatools",
description="Python scripts to find enrichment of GO terms",
install_requires=REQUIREMENTS,
)