Skip to content

Commit bc6e9f0

Browse files
authored
Merge pull request #1093 from readthedocs/Blendify/python-compat
Add python version requirements to setup.py
2 parents 71d6d18 + b2323ce commit bc6e9f0

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

docs/installing.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,14 @@ Symlink or subtree the ``sphinx_rtd_theme/sphinx_rtd_theme`` repository into you
4949
Compatibility
5050
=============
5151

52+
Python
53+
------
54+
55+
``sphinx_rtd_theme`` requires Python 2.7 or Python 3.4 or greater.
56+
57+
Sphinx
58+
------
59+
5260
``sphinx_rtd_theme`` depends on at least Sphinx 1.6 although,
5361
we recommend at least Sphinx 2 to take advantage of the html5 writer.
5462
The html4 writer is still supported however,

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def run(self):
106106
'theme.conf',
107107
'*.html',
108108
'static/css/*.css',
109-
'static/css/fonts/*.*'
109+
'static/css/fonts/*.*',
110110
'static/js/*.js',
111111
]},
112112
include_package_data=True,
@@ -116,6 +116,7 @@ def run(self):
116116
'sphinx_rtd_theme = sphinx_rtd_theme',
117117
]
118118
},
119+
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*',
119120
install_requires=[
120121
'sphinx>=1.6',
121122
'docutils<0.17', # https://github.com/sphinx-doc/sphinx/issues/9001

0 commit comments

Comments
 (0)