Skip to content

Commit de1a3af

Browse files
committed
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 <[email protected]>
1 parent 352f6c2 commit de1a3af

File tree

2 files changed

+6
-28
lines changed

2 files changed

+6
-28
lines changed

MANIFEST.in

+6-26
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,15 @@
11
# License files
22
include LICENSE*
33

4-
# Test related files
4+
# Development and testing
5+
include *.txt
6+
global-include pylintrc
57
include tox.ini
6-
recursive-include tests *.py
7-
recursive-include tests *.md
8-
include tests/repository_data/keystore/delegation_key
9-
include tests/repository_data/keystore/root_key*
10-
include tests/repository_data/keystore/snapshot_key
11-
include tests/repository_data/keystore/targets_key
12-
include tests/repository_data/keystore/timestamp_key
13-
include tests/ssl_certs/*.crt
14-
include tests/ssl_certs/*.key
15-
recursive-include tests *.json
16-
recursive-include tests *.txt
17-
recursive-include tests *.cfg
18-
recursive-include tests *.coveragerc
19-
recursive-include tests *.pub
8+
graft tests
209

21-
# Development related files
22-
include requirements*.txt
23-
include pylintrc
24-
include tuf/api/pylintrc
25-
26-
# Docs
27-
include docs/conf.py
10+
# Documentation
11+
graft docs
2812
recursive-include tuf *.md
29-
recursive-include docs *.txt
30-
recursive-include docs *.md
31-
recursive-include docs *.rst
3213

3314
# To remove
3415
recursive-include tuf/scripts *.py
35-

setup.cfg

-2
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ exclude = tests
4949
ignore =
5050
.fossa.yml
5151
.readthedocs.yaml
52-
docs/images/*
53-
docs/latex/*
5452

5553
[mypy]
5654
warn_unused_configs = True

0 commit comments

Comments
 (0)