mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-29 10:36:53 +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 src *.py
|
||||
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',
|
||||
],
|
||||
},
|
||||
data_files=[
|
||||
('/usr/local/share/man/man1', ['docs/build/man/flake8.1']),
|
||||
],
|
||||
classifiers=[
|
||||
"Environment :: Console",
|
||||
"Framework :: Flake8",
|
||||
|
|
|
|||
9
tox.ini
9
tox.ini
|
|
@ -97,6 +97,13 @@ deps =
|
|||
-rdocs/source/requirements.txt
|
||||
commands =
|
||||
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
|
||||
|
||||
[testenv:serve-docs]
|
||||
|
|
@ -121,7 +128,9 @@ skip_install = true
|
|||
deps =
|
||||
wheel
|
||||
setuptools
|
||||
{[testenv:manpages]deps}
|
||||
commands =
|
||||
{[testenv:manpages]commands}
|
||||
python setup.py -q sdist bdist_wheel
|
||||
|
||||
[testenv:release]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue