Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add python version requirements to setup.py #1093

Merged
merged 6 commits into from Jun 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/installing.rst
Expand Up @@ -49,6 +49,14 @@ Symlink or subtree the ``sphinx_rtd_theme/sphinx_rtd_theme`` repository into you
Compatibility
=============

Python
------

``sphinx_rtd_theme`` requires Python 2.7 or Python 3.4 or greater.

Sphinx
------

``sphinx_rtd_theme`` depends on at least Sphinx 1.6 although,
we recommend at least Sphinx 2 to take advantage of the html5 writer.
The html4 writer is still supported however,
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Expand Up @@ -106,7 +106,7 @@ def run(self):
'theme.conf',
'*.html',
'static/css/*.css',
'static/css/fonts/*.*'
'static/css/fonts/*.*',
Blendify marked this conversation as resolved.
Show resolved Hide resolved
'static/js/*.js',
]},
include_package_data=True,
Expand All @@ -116,6 +116,7 @@ def run(self):
'sphinx_rtd_theme = sphinx_rtd_theme',
]
},
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*',
Blendify marked this conversation as resolved.
Show resolved Hide resolved
install_requires=[
'sphinx>=1.6',
'docutils<0.17', # https://github.com/sphinx-doc/sphinx/issues/9001
Expand Down