Include all files in the PyPI releases

- Included tests, examples, etc in MANIFEST.in.
- Made git ignore files that should not be included in the package.
- Added tox test environment which runs check-manifest to validate the
  MANIFEST.in file.

Downstreams like Debian prefer the PyPI packages to include everything
from the Git repo, especially changelogs and test suites. To make the
installation with pip as lightweight as possible, it is encouraged to
build and upload Python wheels in addition to the sdist tarball.
pull/8/head
Stein Magnus Jodal 2017-07-26 15:06:03 +02:00 zatwierdzone przez Stein Magnus Jodal
rodzic f433098511
commit 00c40e8935
3 zmienionych plików z 27 dodań i 4 usunięć

8
.gitignore vendored
Wyświetl plik

@ -1,4 +1,8 @@
hbmqtt/__pycache__
*.egg-info
*.pyc
.idea/hbmqtt.iml
.tox/
__pycache__
build/
dist/
tests/plugins/test.db

Wyświetl plik

@ -1,2 +1,17 @@
recursive-include scripts *.yaml
include *.rst
include *.txt
include license.txt
include samples/passwd
include tests/plugins/passwd
include tox.ini
recursive-include docs *.css
recursive-include docs *.html
recursive-include docs *.py
recursive-include docs *.rst
recursive-include docs Makefile
recursive-include samples *.crt
recursive-include samples *.py
recursive-include scripts *.yaml
recursive-include tests *.crt
recursive-include tests *.py

Wyświetl plik

@ -3,7 +3,8 @@ envlist =
py344,
py35,
coverage,
#flake8
#flake8,
check-manifest
[testenv]
deps =
@ -24,3 +25,6 @@ deps =
coverage
-rrequirements.txt
[testenv:check-manifest]
deps = check-manifest
commands = check-manifest