-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
40 lines (33 loc) · 1.16 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
import sys
if sys.version_info < (2, 5):
print >> sys.stderr, "ERROR: pyBamParser 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 = "pyBamParser",
version = "0.0.3",
packages = find_packages( 'lib' ),
package_dir = { '': 'lib' },
scripts = glob( "scripts/*.py" ),
author = "Daniel Blankenberg",
author_email = "dan.blankenberg@gmail.com",
description = "Tools for parsing BAM data",
license = "GPLv2",
url = "https://github.com/blankenberg/pyBamParser",
zip_safe = False,
dependency_links = [],
classifiers=[ "Development Status :: 4 - Beta",
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)" ],
**extra )
if __name__ == "__main__":
main()