kopia lustrzana https://github.com/Yakifo/amqtt
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
rodzic
f433098511
commit
00c40e8935
|
@ -1,4 +1,8 @@
|
|||
hbmqtt/__pycache__
|
||||
*.egg-info
|
||||
*.pyc
|
||||
|
||||
.idea/hbmqtt.iml
|
||||
.tox/
|
||||
__pycache__
|
||||
build/
|
||||
dist/
|
||||
tests/plugins/test.db
|
||||
|
|
17
MANIFEST.in
17
MANIFEST.in
|
@ -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
|
||||
|
|
6
tox.ini
6
tox.ini
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue