Very stupid, cannot import glymur in setup.py! #127

The install requirements have not yet necessarily been taken care of yet,
so pip installs will break on 2.6 and 2.7, probably due to contextlib2.
This commit is contained in:
John Evans 2013-10-03 10:10:36 -04:00
commit 6edb59ac7e

View file

@ -12,7 +12,8 @@ kwargs = {'name': 'Glymur',
'package_data': {'glymur': ['data/*.jp2', 'data/*.j2k']},
'scripts': ['bin/jp2dump'],
'license': 'MIT',
'test_suite': 'glymur.test'}
'test_suite': 'glymur.test',
'version': '0.5.4'}
instllrqrs = ['numpy>=1.4.1']
if sys.hexversion < 0x03030000:
@ -38,7 +39,4 @@ clssfrs = ["Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules"]
kwargs['classifiers'] = clssfrs
import glymur
kwargs['version'] = glymur.version.version
setup(**kwargs)