-
Notifications
You must be signed in to change notification settings - Fork 212
/
setup.py
executable file
·49 lines (42 loc) · 1.35 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
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
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
h = 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=h.version,
author=h.author,
author_email=h.email,
license=h.license,
long_description=h.long_description,
packages=[
name,
name + ".godag",
name + ".test_data",
name + ".anno",
name + ".anno.extensions"],
include_package_data=True,
package_data={"goatools.test_data.nbt_3102": ["*.*"]},
scripts=glob('scripts/*.py'),
classifiers=classifiers,
url='http:https://github.com/tanghaibao/goatools',
description="Python scripts to find enrichment of GO terms",
install_requires=requirements
)