Skip to content

Commit ed7b750

Browse files
author
Ryan Whitmore
committed
Reorganize the MANIFEST file to avoid duplication in exclude statements.
1 parent 602b409 commit ed7b750

File tree

1 file changed

+25
-33
lines changed

1 file changed

+25
-33
lines changed

MANIFEST.in

Lines changed: 25 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,43 @@
1+
# File patterns to exclude globally
12
global-exclude .DS_Store
23
global-exclude __pycache__
34
global-exclude *.pyc
45
global-exclude *.pyo
56
global-exclude *.orig
67
global-exclude *.rej
78
global-exclude *~
8-
9-
# IDE and editor files
10-
global-exclude .vscode
11-
global-exclude .idea
129
global-exclude *.swp
1310
global-exclude *.swo
14-
global-exclude .ropeproject
15-
16-
# Test and coverage files
1711
global-exclude .coverage
18-
global-exclude .pytest_cache
19-
global-exclude .tox
20-
global-exclude htmlcov
21-
global-exclude .nox
22-
23-
# Build artifacts
24-
global-exclude build
25-
global-exclude dist
26-
global-exclude *.egg-info
27-
global-exclude .eggs
28-
29-
# Documentation build files
30-
global-exclude docs/_build
31-
global-exclude docs/.doctrees
32-
33-
# Environment and configuration files
34-
global-exclude .env
35-
global-exclude .venv
36-
global-exclude venv
37-
global-exclude env
3812
global-exclude .python-version
39-
40-
# Git and version control
41-
global-exclude .git
4213
global-exclude .gitignore
4314
global-exclude .gitattributes
44-
45-
# CI/CD and development workflow files
46-
global-exclude .github
4715
global-exclude .pre-commit-config.yaml
4816
global-exclude tox.ini
4917
global-exclude .pylintrc
5018
global-exclude Makefile
5119
global-exclude requirements.txt
20+
21+
# Directory trees to exclude completely
22+
prune .git
23+
prune .github
24+
prune .vscode
25+
prune .idea
26+
prune .ropeproject
27+
prune .pytest_cache
28+
prune .tox
29+
prune htmlcov
30+
prune .nox
31+
prune build
32+
prune dist
33+
prune .eggs
34+
prune docs/_build
35+
prune docs/.doctrees
36+
prune .env
37+
prune .venv
38+
prune venv
39+
prune env
40+
prune tests
41+
42+
# Exclude egg-info directories but allow the current build's egg-info
43+
global-exclude *.egg-info

0 commit comments

Comments
 (0)