8000 Support obsolete versions of Python · sphinx-contrib/jquery@7da36f1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7da36f1

Browse files
committed
Support obsolete versions of Python
1 parent af3e7fa commit 7da36f1

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

pyproject.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,19 @@ version = "1.0.0"
99
description = "Extension to include jQuery on newer Sphinx releases"
1010
readme = "README.rst"
1111
license.text = "BSD Zero Clause License"
12-
requires-python = ">=3.7"
12+
requires-python = ">=2.7"
1313

1414
# Classifiers list: https://pypi.org/classifiers/
1515
classifiers = [
1616
"Development Status :: 5 - Production/Stable",
1717
"License :: OSI Approved :: BSD License",
1818
"Operating System :: OS Independent",
1919
"Programming Language :: Python",
20+
"Programming Language :: Python :: 2",
2021
"Programming Language :: Python :: 3",
21-
"Programming Language :: Python :: 3 :: Only",
22+
"Programming Language :: Python :: 2.7",
23+
"Programming Language :: Python :: 3.5",
24+
"Programming Language :: Python :: 3.6",
2225
"Programming Language :: Python :: 3.7",
2326
"Programming Language :: Python :: 3.8",
2427
"Programming Language :: Python :: 3.9",

sphinxcontrib/jquery.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
version_info = (1, 0, 0)
55

66

7-
def setup(app: "sphinx.application.Sphinx"):
7+
def setup(app):
88
jquery_installed = getattr(app, "_sphinxcontrib_jquery_installed", False)
99
if sphinx.version_info[:2] >= (6, 0) and not jquery_installed:
1010
app.add_js_file(

0 commit comments

Comments
 (0)
0