From d3a5a3e9e5ccaac942115ef95bdb87db1644d118 Mon Sep 17 00:00:00 2001 From: Jason Carver Date: Fri, 20 May 2022 10:18:36 -0700 Subject: [PATCH 1/2] Exclude huge and unnecessary venv*/ from dist See an example issue here: https://github.com/ethereum/eth-account/issues/150 --- MANIFEST.in | 1 + 1 file changed, 1 insertion(+) diff --git a/MANIFEST.in b/MANIFEST.in index fbff9807..0d9ffe93 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -6,3 +6,4 @@ global-include *.pyi recursive-exclude * __pycache__ recursive-exclude * *.py[co] +recursive-exclude * venv* From e2e1f9d079093737402e31b4f8b65e2be47d22de Mon Sep 17 00:00:00 2001 From: Jason Carver Date: Thu, 26 May 2022 14:01:42 -0700 Subject: [PATCH 2/2] Use prune instead of recursive-exclude for venv* Frankly not sure why recursive-exclude doesn't work here, but prune does, and that's good enough for me now. It's also probably preferable to only exclude venv* at the root, anyway. --- MANIFEST.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MANIFEST.in b/MANIFEST.in index 0d9ffe93..bb1b0f3e 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -6,4 +6,4 @@ global-include *.pyi recursive-exclude * __pycache__ recursive-exclude * *.py[co] -recursive-exclude * venv* +prune venv*