mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-14 00:14:46 +00:00
Update release machinery to include manpages
This commit is contained in:
parent
7e44b47c9e
commit
f6f01b469c
3 changed files with 13 additions and 0 deletions
|
|
@ -7,3 +7,4 @@ recursive-include docs *.rst *.py
|
||||||
recursive-include tests *.py *.ini *.rst *_diff
|
recursive-include tests *.py *.ini *.rst *_diff
|
||||||
recursive-include src *.py
|
recursive-include src *.py
|
||||||
prune docs/build/
|
prune docs/build/
|
||||||
|
include docs/build/man/*
|
||||||
|
|
|
||||||
3
setup.py
3
setup.py
|
|
@ -112,6 +112,9 @@ setuptools.setup(
|
||||||
'quiet-nothing = flake8.formatting.default:Nothing',
|
'quiet-nothing = flake8.formatting.default:Nothing',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
data_files=[
|
||||||
|
('/usr/local/share/man/man1', ['docs/build/man/flake8.1']),
|
||||||
|
],
|
||||||
classifiers=[
|
classifiers=[
|
||||||
"Environment :: Console",
|
"Environment :: Console",
|
||||||
"Framework :: Flake8",
|
"Framework :: Flake8",
|
||||||
|
|
|
||||||
9
tox.ini
9
tox.ini
|
|
@ -97,6 +97,13 @@ deps =
|
||||||
-rdocs/source/requirements.txt
|
-rdocs/source/requirements.txt
|
||||||
commands =
|
commands =
|
||||||
sphinx-build -E -W -c docs/source/ -b html docs/source/ docs/build/html
|
sphinx-build -E -W -c docs/source/ -b html docs/source/ docs/build/html
|
||||||
|
{[testenv:manpages]commands}
|
||||||
|
|
||||||
|
[testenv:manpages]
|
||||||
|
basepython = python3
|
||||||
|
deps =
|
||||||
|
-rdocs/source/requirements.txt
|
||||||
|
commands =
|
||||||
sphinx-build -E -W -c docs/source/ -b man docs/source/ docs/build/man
|
sphinx-build -E -W -c docs/source/ -b man docs/source/ docs/build/man
|
||||||
|
|
||||||
[testenv:serve-docs]
|
[testenv:serve-docs]
|
||||||
|
|
@ -121,7 +128,9 @@ skip_install = true
|
||||||
deps =
|
deps =
|
||||||
wheel
|
wheel
|
||||||
setuptools
|
setuptools
|
||||||
|
{[testenv:manpages]deps}
|
||||||
commands =
|
commands =
|
||||||
|
{[testenv:manpages]commands}
|
||||||
python setup.py -q sdist bdist_wheel
|
python setup.py -q sdist bdist_wheel
|
||||||
|
|
||||||
[testenv:release]
|
[testenv:release]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue