-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
40 lines (33 loc) · 1.02 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
from setuptools import setup
# file('README.rst', 'w').write(fastinterval.__doc__)
# get the version without an import
VERSION = "Undefined"
DOC = ""
inside_doc = False
for line in open('fastinterval.py'):
if "'''" in line:
inside_doc = not inside_doc
if inside_doc:
DOC += line.replace("'''", "")
if (line.startswith('VERSION')):
exec(line.strip())
setup(
name='fastinterval',
py_modules=['fastinterval'],
author='James Casbon',
author_email='[email protected]',
description='Interval class and fasta access',
long_description=DOC,
install_requires=['numpy', 'pyfasta', 'bx-python'],
url='https://github.com/jamescasbon/fastinterval',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Programming Language :: Python',
'Topic :: Scientific/Engineering',
],
keywords='bioinformatics',
test_suite='nose.collector',
version=VERSION
)