Removed ez_setup which doesn't work with python3 and added use_2to3 for distribute

This commit is contained in:
Daniel Neuhäuser
2010-05-08 20:34:19 +02:00
parent df23646878
commit 89cb0714b1

View File

@@ -47,7 +47,7 @@ A development egg can be found `here
requires = ['Pygments>=0.8', 'Jinja2>=2.2', 'docutils>=0.5']
if sys.version_info < (2, 4):
print 'ERROR: Sphinx requires at least Python 2.4 to run.'
print('ERROR: Sphinx requires at least Python 2.4 to run.')
sys.exit(1)
if sys.version_info < (2, 5):
@@ -198,4 +198,5 @@ setup(
},
install_requires=requires,
cmdclass=cmdclass,
use_2to3=True,
)