From 1975613b44606877661fd3475c7f0564f7513e35 Mon Sep 17 00:00:00 2001 From: Chris Mayo Date: Mon, 5 Sep 2022 19:24:01 +0100 Subject: [PATCH] Remove MANIFEST.in All files stored in Git are included in the sdist, unless excluded with tool.hatch.build.exclude. Build artifacts listed in tool.hatch.build.artifacts are also included. --- .github/workflows/build.yml | 1 - MANIFEST.in | 89 ------------------------------------- pyproject.toml | 6 +++ setup.cfg | 5 --- tox.ini | 5 --- 5 files changed, 6 insertions(+), 100 deletions(-) delete mode 100644 MANIFEST.in diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dd720251..fe8cd433 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -121,7 +121,6 @@ jobs: matrix: toxenv: - flake8 - - check-manifest - check-python-versions - yamllint diff --git a/MANIFEST.in b/MANIFEST.in deleted file mode 100644 index 8a1a0782..00000000 --- a/MANIFEST.in +++ /dev/null @@ -1,89 +0,0 @@ -include *.ini -include *.md -include *.rst -include *.txt -include COPYING -include Dockerfile -include MANIFEST.in -include Makefile -include install-rpm.sh -include pyoxidizer.bzl -include .project -include .pydevproject -include .yamllint -include linkcheck/data/linkcheckerrc - -recursive-include cgi-bin \ - *.css \ - *.de \ - *.en \ - *.html \ - *.ico \ - *.js \ - README -recursive-include config \ - *.sql \ - linkchecker-completion \ - linkchecker.apache2.conf -recursive-include doc \ - *.1 \ - *.5 \ - *.bat \ - *.css \ - *.example \ - *.html \ - *.ico \ - *.jpg \ - *.md \ - *.png \ - *.po \ - *.pot \ - *.py \ - *.rst \ - *.sh \ - *.txt \ - *.yml \ - Makefile \ - linkcheckerrc_* -recursive-include linkcheck \ - *.mo -recursive-include po \ - *.po \ - *.pot \ - Makefile -recursive-include \ - scripts \ - *.sh \ - *.py -recursive-include tests \ - *.adr \ - *.asc \ - *.bin \ - *.css \ - *.doc \ - *.html \ - *.ico \ - *.ini \ - *.markdown \ - *.pdf \ - *.php \ - *.plist \ - *.py \ - *.result \ - *.sqlite \ - *.swf \ - *.txt \ - *.wml \ - *.xhtml \ - *.xml \ - *.zip \ - Bookmarks -recursive-include tools \ - *.py -recursive-include windows \ - *.bat \ - *.cer \ - *.pfx \ - *.pvk - -prune .github diff --git a/pyproject.toml b/pyproject.toml index c8ef5aa0..91126959 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,6 +47,12 @@ artifacts = [ "linkcheck/_release.py", "linkcheck/data/locale", ] +exclude = [ + ".github", + ".gitattributes", + ".gitignore", + "windows", +] [tool.hatch.build.targets.sdist] strict-naming = false diff --git a/setup.cfg b/setup.cfg index 36182fbb..0782bb18 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,8 +1,3 @@ -[check-manifest] -ignore = - *.rej - _release_date - [flake8] filename = *.py diff --git a/tox.ini b/tox.ini index 7d1ce15a..fdfe9394 100644 --- a/tox.ini +++ b/tox.ini @@ -27,11 +27,6 @@ deps = flake8 skip_install = true commands = flake8 {posargs} -[testenv:check-manifest] -deps = check-manifest -skip_install = true -commands = check-manifest {posargs} - [testenv:check-python-versions] deps = check-python-versions skip_install = true