Omit hacking directory from MANIFEST.in (#81245)

* Omit `hacking` directory from `MANIFEST.in`

* Update package-data sanity test
pull/81110/head
Matt Clay 1 year ago committed by GitHub
parent 3e3fb26b35
commit b93a628aed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2,8 +2,6 @@ include COPYING
include bin/* include bin/*
include changelogs/CHANGELOG*.rst include changelogs/CHANGELOG*.rst
include changelogs/changelog.yaml include changelogs/changelog.yaml
include hacking/test-module.py
include hacking/update-sanity-requirements.py
include licenses/*.txt include licenses/*.txt
include requirements.txt include requirements.txt
recursive-include docs * recursive-include docs *

@ -28,10 +28,8 @@ def assemble_files_to_ship(complete_file_list):
'.github/*', '.github/*',
'.github/*/*', '.github/*/*',
'changelogs/fragments/*', 'changelogs/fragments/*',
'hacking/backport/*', 'hacking/*',
'hacking/azp/*', 'hacking/*/*',
'hacking/tests/*',
'hacking/ticket_stubs/*',
'test/results/.tmp/*', 'test/results/.tmp/*',
'test/results/.tmp/*/*', 'test/results/.tmp/*/*',
'test/results/.tmp/*/*/*', 'test/results/.tmp/*/*/*',
@ -43,23 +41,8 @@ def assemble_files_to_ship(complete_file_list):
# Developer-only tools # Developer-only tools
'changelogs/README.md', 'changelogs/README.md',
'changelogs/config.yaml', 'changelogs/config.yaml',
'hacking/README.md',
'hacking/ansible-profile',
'hacking/cgroup_perf_recap_graph.py',
'hacking/create_deprecated_issues.py',
'hacking/deprecated_issue_template.md',
'hacking/create-bulk-issues.py',
'hacking/metadata-tool.py',
'hacking/report.py',
'hacking/return_skeleton_generator.py',
'hacking/test-module',
'.cherry_picker.toml', '.cherry_picker.toml',
'.mailmap', '.mailmap',
# Possibly should be included
'hacking/env-setup',
'hacking/env-setup.fish',
'MANIFEST',
'setup.cfg',
)) ))
# These files are generated and then intentionally added to the sdist # These files are generated and then intentionally added to the sdist

Loading…
Cancel
Save