Skip to content

Commit b306f1c

Browse files
committed
Rm docs/images/* from src distribution
1 parent e26c922 commit b306f1c

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,4 @@ include tests/test_functional.py
7676
include tests/test_functional_ssl.py
7777
include tests/test_ioloop.py
7878
include tests/test_servers.py
79+
recursive-exclude docs/images *

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,9 @@ fix-all: ## Run all code fixers.
167167
# Distribution
168168
# ===================================================================
169169

170+
check-manifest: ## Inspect MANIFEST.in file.
171+
$(PYTHON) -m check_manifest -v $(ARGS)
172+
170173
sdist: ## Create tar.gz source distribution.
171174
${MAKE} generate-manifest
172175
$(PYTHON_ENV_VARS) $(PYTHON) setup.py sdist
@@ -178,6 +181,7 @@ sdist: ## Create tar.gz source distribution.
178181

179182
pre-release: ## All the necessary steps before making a release.
180183
${MAKE} clean
184+
${MAKE} check-manifest
181185
${MAKE} sdist
182186
$(PYTHON) -c \
183187
"from pyftpdlib import __ver__ as ver; \
@@ -209,9 +213,6 @@ print-announce: ## Print announce of new release.
209213
grep-todos: ## Look for TODOs in source files.
210214
git grep -EIn "TODO|FIXME|XXX"
211215

212-
check-manifest: ## Inspect MANIFEST.in file.
213-
$(PYTHON) -m check_manifest -v $(ARGS)
214-
215216
check-broken-links: ## Look for broken links in source files.
216217
git ls-files | xargs $(PYTHON) -Wa scripts/internal/check_broken_links.py
217218

scripts/internal/generate_manifest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ def main():
3131
continue
3232
print("include " + file)
3333

34+
print("recursive-exclude docs/images *")
35+
3436

3537
if __name__ == "__main__":
3638
main()

0 commit comments

Comments
 (0)