|
18 | 18 |
|
19 | 19 | # Define all extras |
20 | 20 | extras = { |
21 | | - "code_style": ["flake8<3.8.0,>=3.7.0", "black", "pre-commit==1.17.0"], |
| 21 | + "code_style": ["flake8<3.8.0,>=3.7.0", "black", "pre-commit"], |
22 | 22 | "testing": [ |
23 | 23 | "coverage", |
24 | 24 | "pytest>=3.6,<4", |
25 | 25 | "pytest-cov", |
26 | 26 | "pytest-regressions", |
27 | 27 | "beautifulsoup4", |
28 | | - "myst-nb", |
| 28 | + "myst-nb~=0.17.1", |
| 29 | + "sphinx>=4,<6", |
| 30 | + "docutils>=0.15,<0.19", |
29 | 31 | "texsoup", |
30 | 32 | "matplotlib", |
31 | 33 | ], |
32 | 34 | "rtd": [ |
33 | | - "sphinx>=3.0", |
| 35 | + "sphinx>=4,<6", |
34 | 36 | "sphinx-book-theme", |
35 | | - "myst-nb", |
| 37 | + "myst-nb~=0.17.1", |
36 | 38 | ], |
37 | 39 | } |
38 | 40 |
|
|
41 | 43 | setup( |
42 | 44 | name="sphinx-exercise", |
43 | 45 | version=VERSION, |
44 | | - python_requires=">=3.6", |
| 46 | + python_requires=">=3.8", |
45 | 47 | author="QuantEcon", |
46 | 48 | |
47 | 49 | url=BASE_URL, |
|
55 | 57 | long_description_content_type="text/markdown", |
56 | 58 | license="BSD", |
57 | 59 | packages=find_packages(), |
58 | | - install_requires=["docutils>=0.15", "sphinx", "sphinx-book-theme"], |
| 60 | + install_requires=["sphinx>=4", "sphinx-book-theme"], |
59 | 61 | extras_require=extras, |
60 | 62 | include_package_data=True, |
61 | 63 | classifiers=[ |
|
67 | 69 | "License :: OSI Approved :: MIT License", |
68 | 70 | "Natural Language :: English", |
69 | 71 | "Operating System :: OS Independent", |
70 | | - "Programming Language :: Python :: 3.6", |
71 | | - "Programming Language :: Python :: 3.7", |
72 | 72 | "Programming Language :: Python :: 3.8", |
| 73 | + "Programming Language :: Python :: 3.9", |
73 | 74 | "Programming Language :: Python", |
74 | 75 | "Topic :: Documentation :: Sphinx", |
75 | 76 | "Topic :: Documentation", |
|
0 commit comments