aboutsummaryrefslogtreecommitdiff
path: root/lang/python/python-cryptodomex/patches/002-omit-tests.patch
blob: 43e2cc3d883dc18405e3c8c1b8834e368361ace7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/setup.py
+++ b/setup.py
@@ -276,6 +276,9 @@ package_data = {
     "Crypto.Util" : [ "*.pyi" ],
 }
 
+packages = [i for i in packages if not i.startswith('Crypto.SelfTest')]
+package_data = {k: v for k, v in package_data.items() if not k.startswith('Crypto.SelfTest')}
+
 ext_modules = [
     # Hash functions
     Extension("Crypto.Hash._MD2",