File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,6 +39,9 @@ def get_release_command_class() -> dict[str, type[setuptools.Command]]:
3939with open (os .path .join (REQUIREMENT_DIR , "test_requirements.txt" )) as f :
4040 tests_requires = [line .strip () for line in f if line .strip ()]
4141
42+ with open (os .path .join (REQUIREMENT_DIR , "docs_requirements.txt" )) as f :
43+ docs_requires = [line .strip () for line in f if line .strip ()]
44+
4245
4346DATETIME_REQUIRES = [
4447 "python-dateutil>=2.8.0,<3.0.0" ,
@@ -72,7 +75,11 @@ def get_release_command_class() -> dict[str, type[setuptools.Command]]:
7275 },
7376 python_requires = ">=3.9" ,
7477 install_requires = install_requires ,
75- extras_require = {"datetime" : DATETIME_REQUIRES , "test" : tests_requires + DATETIME_REQUIRES },
78+ extras_require = {
79+ "datetime" : DATETIME_REQUIRES ,
80+ "docs" : docs_requires ,
81+ "test" : tests_requires + DATETIME_REQUIRES ,
82+ },
7683 classifiers = [
7784 "Development Status :: 5 - Production/Stable" ,
7885 "Intended Audience :: Developers" ,
You can’t perform that action at this time.
0 commit comments