From 3e62fef5691eec94c0814bfde38136d6d1b22415 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Wed, 27 Apr 2022 10:19:15 +0100 Subject: [PATCH] Tidy MANIFEST.in and remove check-manifest (#382) Delete some unnecessary entries from MANIFEST.in which trigger warnings from setuptools, and remove check-manifest which requires these unnecessary entries. Should be fine without check-manifest as tox uses isolated builds now. --- .pre-commit-config.yaml | 5 ----- MANIFEST.in | 7 ------- setup.cfg | 1 - 3 files changed, 13 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8b18eb22..1272f33b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -41,8 +41,3 @@ repos: - flake8-comprehensions - flake8-tidy-imports - flake8-typing-imports -- repo: https://github.com/mgedmin/check-manifest - rev: "0.48" - hooks: - - id: check-manifest - args: [--no-build-isolation] diff --git a/MANIFEST.in b/MANIFEST.in index a0cc8c95..a57e5db1 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,14 +1,7 @@ -global-exclude *.py[cod] -prune __pycache__ prune docs -prune requirements prune scripts -prune tests -exclude .editorconfig -exclude .pre-commit-config.yaml exclude .readthedocs.yaml exclude CHANGELOG.rst -exclude tox.ini include LICENSE include pyproject.toml include README.rst diff --git a/setup.cfg b/setup.cfg index 9c79d358..abda57bf 100644 --- a/setup.cfg +++ b/setup.cfg @@ -30,7 +30,6 @@ classifiers = Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware -license_file = LICENSE [options] package_dir=