Skip to content

Commit 3bedd1d

Browse files
committed
Improve basic configuration
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent 6824fa0 commit 3bedd1d

5 files changed

Lines changed: 11 additions & 12 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ test:
9696

9797
docs:
9898
rm -rf docs/_build/
99-
@${ACTIVATE} sphinx-build docs/source docs/_build/
99+
@${ACTIVATE} sphinx-build docs/ docs/_build/
100100

101101
postgresdb:
102102
@echo "-> Configure PostgreSQL database"

configure

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ CLI_ARGS=$1
2828
################################
2929

3030
# Requirement arguments passed to pip and used by default or with --dev.
31-
REQUIREMENTS="--editable . -r requirements.txt"
32-
DEV_REQUIREMENTS="--editable .[testing] -r requirements.txt -r requirements-dev.txt"
33-
DOCS_REQUIREMENTS="--editable .[docs] -r requirements.txt"
31+
REQUIREMENTS="--editable . --requirement requirements.txt"
32+
DEV_REQUIREMENTS="--editable .[testing] --requirement requirements.txt --requirement requirements-dev.txt"
33+
DOCS_REQUIREMENTS="--editable .[docs] --requirement requirements.txt"
3434

3535
# where we create a virtualenv
3636
VIRTUALENV_DIR=venv

configure.bat

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
@rem ################################
2727

2828
@rem # Requirement arguments passed to pip and used by default or with --dev.
29-
set "REQUIREMENTS=--editable . --constraint requirements.txt"
30-
set "DEV_REQUIREMENTS=--editable .[testing] --constraint requirements.txt --constraint requirements-dev.txt"
31-
set "DOCS_REQUIREMENTS=--editable .[docs] --constraint requirements.txt"
29+
set "REQUIREMENTS=--editable . --requirement requirements.txt"
30+
set "DEV_REQUIREMENTS=--editable .[testing] --requirement requirements.txt --requirement requirements-dev.txt"
31+
set "DOCS_REQUIREMENTS=--editable .[docs] --requirement requirements.txt"
3232

3333
@rem # where we create a virtualenv
3434
set "VIRTUALENV_DIR=venv"

requirements-dev.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,5 @@ sphinxcontrib-jquery==4.1
1919
sphinxcontrib-jsmath==1.0.1
2020
sphinxcontrib-qthelp==1.0.6
2121
sphinxcontrib-serializinghtml==1.1.9
22+
sphinxcontrib_django
23+
sphinx-jsonschema

setup.cfg

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,6 @@ install_requires =
107107
wrapt>=1.15.0
108108

109109

110-
[options.packages.find]
111-
where = src
112-
113-
114110
[options.extras_require]
115111
testing =
116112
# Validation
@@ -135,7 +131,8 @@ docs =
135131
sphinx-rtd-dark-mode>=1.3.0
136132
sphinx-copybutton
137133
sphinx-autobuild>=2021.3.14
138-
134+
sphinxcontrib_django
135+
sphinx-jsonschema
139136

140137
[isort]
141138
force_single_line = True

0 commit comments

Comments
 (0)