forked from tanghaibao/goatools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·59 lines (52 loc) · 1.64 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
#!/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
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 = ['wget'] + \
[x.strip() for x in open(op.join(SETUP_DIR, 'requirements.txt')).readlines()]
setup(
name=NAME,
version=HLPR.version,
author=HLPR.author,
author_email=HLPR.email,
license=HLPR.license,
long_description=HLPR.long_description,
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.extensions",
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
)