mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-03-16 22:10:26 +00:00
Fix install with pip git+https
pip only uses the wheel target. Save building the metadata twice as a result in GitHub workflows and update documentation.md.
This commit is contained in:
parent
b6a7f2d313
commit
38dea6b7f4
5 changed files with 8 additions and 8 deletions
2
.github/workflows/branch-man.yml
vendored
2
.github/workflows/branch-man.yml
vendored
|
|
@ -38,7 +38,7 @@ jobs:
|
|||
|
||||
- name: Build man pages
|
||||
run: |
|
||||
python3 -m hatchling build --hooks-only
|
||||
python3 -m hatchling build -t sdist --hooks-only
|
||||
make -C doc locale
|
||||
git commit -a -m "Update doc translation catalogs"
|
||||
make -C doc man
|
||||
|
|
|
|||
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
|
@ -67,7 +67,7 @@ jobs:
|
|||
|
||||
- name: Run tests
|
||||
run: |
|
||||
python -m hatchling build --hooks-only
|
||||
python -m hatchling build -t sdist --hooks-only
|
||||
python -m tox -e py
|
||||
|
||||
- name: Report to coveralls
|
||||
|
|
@ -109,7 +109,7 @@ jobs:
|
|||
|
||||
- name: Build
|
||||
run: |
|
||||
python3 -m hatchling build --hooks-only
|
||||
python3 -m hatchling build -t sdist --hooks-only
|
||||
make -C doc code
|
||||
make -C doc html
|
||||
make -C doc locale
|
||||
|
|
|
|||
2
.github/workflows/publish-pages.yml
vendored
2
.github/workflows/publish-pages.yml
vendored
|
|
@ -35,7 +35,7 @@ jobs:
|
|||
|
||||
- name: Build
|
||||
run: |
|
||||
python3 -m hatchling build --hooks-only
|
||||
python3 -m hatchling build -t sdist --hooks-only
|
||||
make -C doc code
|
||||
make -C doc html
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ Configuration
|
|||
Before building either man pages or HTML, generate ``linkcheck/_release.py``
|
||||
containing copyright, author and version with:
|
||||
|
||||
``hatchling build --hooks-only``
|
||||
``hatchling build -t sdist --hooks-only``
|
||||
|
||||
|
||||
Man Pages
|
||||
|
|
|
|||
|
|
@ -51,12 +51,12 @@ exclude = [
|
|||
".gitattributes",
|
||||
]
|
||||
|
||||
[tool.hatch.build.hooks.custom]
|
||||
path = "tools/hatch_build.py"
|
||||
|
||||
[tool.hatch.build.targets.sdist]
|
||||
strict-naming = false
|
||||
|
||||
[tool.hatch.build.targets.sdist.hooks.custom]
|
||||
path = "tools/hatch_build.py"
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
only-include = ["linkcheck"]
|
||||
strict-naming = false
|
||||
|
|
|
|||
Loading…
Reference in a new issue