Skip to content
Snippets Groups Projects
Commit f84b27f7 authored by David Douard's avatar David Douard
Browse files

Update to swh-py-template v0.1.5

- remove sphinx-dev tox env,
- use non-editable install of swh-docs to build the sphinx doc in tox,
- remove (now useless) MANIFEST.in.
parent d5f63c82
No related branches found
No related tags found
1 merge request!364Migrate to copier-base template
Pipeline #5703 passed
# Changes here will be overwritten by Copier
_commit: v0.1.4
_commit: v0.1.5
_src_path: https://gitlab.softwareheritage.org/swh/devel/swh-py-template.git
description: Software Heritage core utilities
distribution_name: swh-core
......
include Makefile
include conftest.py
include requirements*.txt
include version.txt
recursive-include swh/core/db/sql *.sql
recursive-include swh py.typed
recursive-include swh/core/db/tests/data/ *
recursive-include swh/core/tests/data/ *
recursive-include swh/core/tests/fixture/data/ *
include ../../swh-docs/Makefile.sphinx
include swh-docs/Makefile.sphinx
......@@ -75,31 +75,11 @@ extras =
http
github
deps =
# fetch and install swh-docs in develop mode
-e git+https://gitlab.softwareheritage.org/swh/devel/swh-docs.git\#egg=swh.docs
# fetch and install swh-docs
git+https://gitlab.softwareheritage.org/swh/devel/swh-docs.git\#egg=swh.docs
setenv =
SWH_PACKAGE_DOC_TOX_BUILD = 1
# turn warnings into errors
SPHINXOPTS = -W
commands =
make -I ../.tox/sphinx/src/swh-docs/swh/ -C docs
# build documentation only inside swh-environment using local state
# of swh-docs package
[testenv:sphinx-dev]
allowlist_externals = make
extras =
testing-core
logging
db
http
github
deps =
# install swh-docs in develop mode
-e ../swh-docs
setenv =
SWH_PACKAGE_DOC_TOX_BUILD = 1
# turn warnings into errors
SPHINXOPTS = -W
commands =
make -I ../.tox/sphinx-dev/src/swh-docs/swh/ -C docs
make -I {env_dir}/share/ -C docs
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment