-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
55 lines (47 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
50
51
52
53
54
55
#!/usr/bin/env python
import os
import sys
import SeqHandler.__init__ as meta
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
packages = [
meta.__title__,
]
requires = []
with open('requirements.txt') as fin:
lines = fin.readlines()
for l in lines:
requires.append(l.strip())
setup(
name=meta.__title__,
version=meta.__version__,
description=meta.__description__,
long_description=open('README.rst').read(),
author=meta.__author__,
author_email=meta.__author_email__,
url=meta.__url__,
packages=packages,
scripts = [meta.__title__+"/"+meta.__title__],
package_data={'': ['LICENSE']},
package_dir={meta.__title__: meta.__title__},
include_package_data=True,
install_requires=requires,
license=meta.__license__,
zip_safe=False,
classifiers=(
'Environment :: Console',
'Intended Audience :: Science/Research',
'License :: OSI Approved',
'Natural Language :: English',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 2 :: Only',
'Topic :: Scientific/Engineering :: Bio-Informatics',
),
)