diff options
author | Takayuki Shimizukawa <shimizukawa@gmail.com> | 2014-05-27 18:17:36 +0400 |
---|---|---|
committer | Takayuki Shimizukawa <shimizukawa@gmail.com> | 2014-05-27 18:17:36 +0400 |
commit | 6746c83a188e208041e0463c4e3fc5fb15316b07 (patch) | |
tree | 26c73702b2aa46d342051c4039be87e4d4160430 /setup.py | |
parent | a335414b8176b269181fe0d5fd2d9906b1a94938 (diff) |
* Drop Python-3.2. And now, removing 2to3 mechanism procedure has been completed. Closes #1350.
Pygments-2.0 will drop Python-3.2.
The snowballstemmer package that is referred from sphinx-1.3 (that is merged at pull request #214) has not supported Python-3.2.
We decided to drop the Python-3.2.
see also https://bitbucket.org/birkenfeld/sphinx/pull-request/243/native-py2-py3-support-without-2to3-refs
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 13 |
1 files changed, 5 insertions, 8 deletions
@@ -41,16 +41,13 @@ Among its features are the following: * Setuptools integration ''' -if sys.version_info < (2, 6) or (3, 0) <= sys.version_info < (3, 2): - print('ERROR: Sphinx requires at least Python 2.6 or 3.2 to run.') +if sys.version_info < (2, 6) or (3, 0) <= sys.version_info < (3, 3): + print('ERROR: Sphinx requires at least Python 2.6 or 3.3 to run.') sys.exit(1) -requires = ['six', 'Pygments>=1.2', 'docutils>=0.10', 'snowballstemmer>=1.1'] - -if (3, 0) <= sys.version_info < (3, 3): - requires.append('Jinja2>=2.3,<2.7') -else: # 2.6, 2.7, 3.3 or later - requires.append('Jinja2>=2.3') +requires = [ + 'six', 'Jinja2>=2.3', 'Pygments>=1.2', 'docutils>=0.10', 'snowballstemmer>=1.1' +] # Provide a "compile_catalog" command that also creates the translated # JavaScript files if Babel is available. |