3 ez_setup
.use_setuptools()
4 from setuptools
import setup
8 """Get the version info from the mpld3 package without importing it"""
11 with
open(path
) as init_file
:
12 module
= ast
.parse(init_file
.read())
14 version
= (ast
.literal_eval(node
.value
) for node
in ast
.walk(module
)
15 if isinstance(node
, ast
.Assign
)
16 and node
.targets
[0].id == "__version__")
20 raise ValueError("version could not be located")
22 install_requires
= ['toolshed']
23 if sys
.version_info
[:2] < (2, 7):
24 install_requires
.extend(["argparse", "ordereddict"])
27 version
=get_version("bwameth.py"),
28 description
="align BS-Seq reads with bwa mem",
29 py_modules
=['bwameth'],
30 author
="Brent Pedersen",
31 author_email
="bpederse@gmail.com",
33 install_requires
=install_requires
,
34 long_description
=open('README.md').read(),
36 'Topic :: Scientific/Engineering :: Bio-Informatics',
37 'Programming Language :: Python :: 2',
38 'Programming Language :: Python :: 3'
40 scripts
=['bwameth.py']