blob: 43e2cc3d883dc18405e3c8c1b8834e368361ace7 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001--- a/setup.py
2+++ b/setup.py
3@@ -276,6 +276,9 @@ package_data = {
4 "Crypto.Util" : [ "*.pyi" ],
5 }
6
7+packages = [i for i in packages if not i.startswith('Crypto.SelfTest')]
8+package_data = {k: v for k, v in package_data.items() if not k.startswith('Crypto.SelfTest')}
9+
10 ext_modules = [
11 # Hash functions
12 Extension("Crypto.Hash._MD2",