Browse files

use_2to3 in setup.py, mostly completing Python 3 support.

Also, need to depend on the 'distribute' package for that to work.
One remaining problem is that the tests are not automatically
converted when running 'python3 setup.py test'.
  • Loading branch information...
1 parent bc6918c commit cb00f477f0715d2e77be8efb2ab42d53c2bacb43 @marcelm marcelm committed May 18, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 setup.py
View
5 setup.py
@@ -28,9 +28,10 @@
scripts=['scripts/vcf_melt', 'scripts/vcf_filter.py'],
author='James Casbon and @jdoughertyii',
author_email='casbon@gmail.com',
- description='Variant Call Format (VCF) parser for python',
+ description='Variant Call Format (VCF) parser for Python',
long_description=DOC,
test_suite='test.test_vcf.suite',
+ install_requires=['distribute'],
requires=requires,
entry_points = {
'vcf.filters': [
@@ -46,7 +47,9 @@
'Intended Audience :: Science/Research',
'Operating System :: OS Independent',
'Programming Language :: Python',
+ 'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering',
],
keywords='bioinformatics',
+ use_2to3=True,
)

0 comments on commit cb00f47

Please sign in to comment.