mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
build: more intentional about what's included in sdist
Our sdist has typically included everything from git apart from the CI related files (.github/*, .fossa.yml, .readthedocs.yaml). Update our MANIFEST.in and the check-manifest section of setup.cfg to be explicit about this. Signed-off-by: Joshua Lock <jlock@vmware.com>
This commit is contained in:
parent
352f6c2c56
commit
de1a3af019
2 changed files with 6 additions and 28 deletions
32
MANIFEST.in
32
MANIFEST.in
|
|
@ -1,35 +1,15 @@
|
|||
# License files
|
||||
include LICENSE*
|
||||
|
||||
# Test related files
|
||||
# Development and testing
|
||||
include *.txt
|
||||
global-include pylintrc
|
||||
include tox.ini
|
||||
recursive-include tests *.py
|
||||
recursive-include tests *.md
|
||||
include tests/repository_data/keystore/delegation_key
|
||||
include tests/repository_data/keystore/root_key*
|
||||
include tests/repository_data/keystore/snapshot_key
|
||||
include tests/repository_data/keystore/targets_key
|
||||
include tests/repository_data/keystore/timestamp_key
|
||||
include tests/ssl_certs/*.crt
|
||||
include tests/ssl_certs/*.key
|
||||
recursive-include tests *.json
|
||||
recursive-include tests *.txt
|
||||
recursive-include tests *.cfg
|
||||
recursive-include tests *.coveragerc
|
||||
recursive-include tests *.pub
|
||||
graft tests
|
||||
|
||||
# Development related files
|
||||
include requirements*.txt
|
||||
include pylintrc
|
||||
include tuf/api/pylintrc
|
||||
|
||||
# Docs
|
||||
include docs/conf.py
|
||||
# Documentation
|
||||
graft docs
|
||||
recursive-include tuf *.md
|
||||
recursive-include docs *.txt
|
||||
recursive-include docs *.md
|
||||
recursive-include docs *.rst
|
||||
|
||||
# To remove
|
||||
recursive-include tuf/scripts *.py
|
||||
|
||||
|
|
|
|||
|
|
@ -49,8 +49,6 @@ exclude = tests
|
|||
ignore =
|
||||
.fossa.yml
|
||||
.readthedocs.yaml
|
||||
docs/images/*
|
||||
docs/latex/*
|
||||
|
||||
[mypy]
|
||||
warn_unused_configs = True
|
||||
|
|
|
|||
Loading…
Reference in a new issue