summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Cordasco <graffatcolmingov@gmail.com>2016-11-14 09:48:48 -0600
committerIan Cordasco <graffatcolmingov@gmail.com>2016-11-14 09:48:48 -0600
commitf6f01b469ccabdb78c95399d5cb50d94f69bdef9 (patch)
treee35c8a47ed323d219d20ca0bebf4b7b1dc5e7e36
parent7e44b47c9ede5789177de9fa55b5b19af59cdaba (diff)
downloadflake8-f6f01b469ccabdb78c95399d5cb50d94f69bdef9.tar.gz
Update release machinery to include manpages3.1.0
-rw-r--r--MANIFEST.in1
-rw-r--r--setup.py3
-rw-r--r--tox.ini9
3 files changed, 13 insertions, 0 deletions
diff --git a/MANIFEST.in b/MANIFEST.in
index 74b090b..4d23a63 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -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/*
diff --git a/setup.py b/setup.py
index 06ae512..996af4d 100644
--- a/setup.py
+++ b/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",
diff --git a/tox.ini b/tox.ini
index 2e4504f..fe6e07a 100644
--- a/tox.ini
+++ b/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]