-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
42 lines (35 loc) · 1.25 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
import sys
if sys.version_info < (2, 5):
print >> sys.stderr, "ERROR: pyBamTools requires python 2.5 or greater"
sys.exit()
try:
import setuptools
except ImportError:
# Automatically download setuptools if not available
from distribute_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
from glob import glob
extra = {}
if sys.version_info >= (3,):
extra['use_2to3'] = True
def main():
setup( name = "pyBamTools",
version = "0.0.4",
packages = find_packages( 'lib' ),
package_dir = { '': 'lib' },
scripts = glob( "scripts/*.py" ),
setup_requires = [],
install_requires = ['numpy', 'pyBamParser==0.0.3'],
author = "Daniel Blankenberg",
author_email = "[email protected]",
description = "Tools for working on BAM data",
license = "GPLv2",
url = "https://github.com/blankenberg/pyBamTools",
zip_safe = False,
dependency_links = [],
classifiers=[ "Development Status :: 4 - Beta",
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)" ],
**extra )
if __name__ == "__main__":
main()