mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Removed ez_setup which doesn't work with python3 and added use_2to3 for distribute
This commit is contained in:
3
setup.py
3
setup.py
@@ -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,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user