diff options
| author | Ian Cordasco <graffatcolmingov@gmail.com> | 2016-11-14 09:48:48 -0600 |
|---|---|---|
| committer | Ian Cordasco <graffatcolmingov@gmail.com> | 2016-11-14 09:48:48 -0600 |
| commit | f6f01b469ccabdb78c95399d5cb50d94f69bdef9 (patch) | |
| tree | e35c8a47ed323d219d20ca0bebf4b7b1dc5e7e36 | |
| parent | 7e44b47c9ede5789177de9fa55b5b19af59cdaba (diff) | |
| download | flake8-f6f01b469ccabdb78c95399d5cb50d94f69bdef9.tar.gz | |
Update release machinery to include manpages3.1.0
| -rw-r--r-- | MANIFEST.in | 1 | ||||
| -rw-r--r-- | setup.py | 3 | ||||
| -rw-r--r-- | tox.ini | 9 |
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/* @@ -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", @@ -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] |
