Skip to content

Commit a2809fb

Browse files
committed
Combine testing and docs extra for simplicity
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent 4f9e936 commit a2809fb

File tree

3 files changed

+0
-9
lines changed

3 files changed

+0
-9
lines changed

configure

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ CLI_ARGS=$1
3030
# Requirement arguments passed to pip and used by default or with --dev.
3131
REQUIREMENTS="--editable . --constraint requirements.txt"
3232
DEV_REQUIREMENTS="--editable .[testing] --constraint requirements.txt --constraint requirements-dev.txt"
33-
DOCS_REQUIREMENTS="--editable .[docs] --constraint requirements.txt"
3433

3534
# where we create a virtualenv
3635
VIRTUALENV_DIR=venv
@@ -185,7 +184,6 @@ while getopts :-: optchar; do
185184
help ) cli_help;;
186185
clean ) find_python && clean;;
187186
dev ) CFG_REQUIREMENTS="$DEV_REQUIREMENTS";;
188-
docs ) CFG_REQUIREMENTS="$DOCS_REQUIREMENTS";;
189187
esac;;
190188
esac
191189
done

configure.bat

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
@rem # Requirement arguments passed to pip and used by default or with --dev.
2929
set "REQUIREMENTS=--editable . --constraint requirements.txt"
3030
set "DEV_REQUIREMENTS=--editable .[testing] --constraint requirements.txt --constraint requirements-dev.txt"
31-
set "DOCS_REQUIREMENTS=--editable .[docs] --constraint requirements.txt"
3231

3332
@rem # where we create a virtualenv
3433
set "VIRTUALENV_DIR=venv"
@@ -76,9 +75,6 @@ if not "%1" == "" (
7675
if "%1" EQU "--dev" (
7776
set "CFG_REQUIREMENTS=%DEV_REQUIREMENTS%"
7877
)
79-
if "%1" EQU "--docs" (
80-
set "CFG_REQUIREMENTS=%DOCS_REQUIREMENTS%"
81-
)
8278
shift
8379
goto again
8480
)

setup.cfg

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,10 @@ testing =
5555
pycodestyle >= 2.8.0
5656
twine
5757
ruff
58-
59-
docs =
6058
Sphinx>=5.0.2
6159
sphinx-rtd-theme>=1.0.0
6260
sphinx-reredirects >= 0.1.2
6361
doc8>=0.11.2
6462
sphinx-autobuild
6563
sphinx-rtd-dark-mode>=1.3.0
6664
sphinx-copybutton
67-

0 commit comments

Comments
 (0)