diff options
| author | DasIch <dasdasich@gmail.com> | 2010-08-15 20:48:19 +0200 |
|---|---|---|
| committer | DasIch <dasdasich@gmail.com> | 2010-08-15 20:48:19 +0200 |
| commit | 4649062475d1502a171cf16e139b79ffb4e89de0 (patch) | |
| tree | 2c3b933e9aa7aab4deced189fab463e586cc8bd3 /setup.py | |
| parent | baea95942d71053c4b723252ebcb57902f1ed469 (diff) | |
| download | sphinx-4649062475d1502a171cf16e139b79ffb4e89de0.tar.gz | |
Use uuid as a requirement in the setup.py and mention it in the documentation for Python 2.4
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -44,7 +44,7 @@ A development egg can be found `here <http://bitbucket.org/birkenfeld/sphinx/get/tip.gz#egg=Sphinx-dev>`_. ''' -requires = ['Pygments>=0.8', 'Jinja2>=2.2', 'docutils>=0.5'] +requires = ['Pygments>=0.8', 'Jinja2>=2.2', 'docutils>=0.5', 'uuid>=1.30'] if sys.version_info < (2, 4): print('ERROR: Sphinx requires at least Python 2.4 to run.') @@ -61,7 +61,10 @@ if sys.version_info < (2, 5): except: pass else: - del requires[-1] + del requires[-2] +elif sys.version_info >= (2, 5): + # An uuid module has been added to the stdlib in 2.5 + del requires[-1] # Provide a "compile_catalog" command that also creates the translated |
