b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | --- 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", |