Skip to content

Commit

Permalink
#3978 force include pycryptography
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Oct 6, 2023
1 parent 91860c9 commit 38d3bd4
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -1996,11 +1996,21 @@ def noop(*_args, **_kwargs): # pylint: disable=function-redefined
external_includes += [
"cryptography", "idna", "idna.idnadata", "appdirs",
]
add_modules("cryptography.hazmat.bindings._openssl",
"cryptography.hazmat.bindings._constant_time",
"cryptography.hazmat.bindings._padding",
"cryptography.hazmat.backends.openssl",
"cryptography.fernet")
add_modules(
"cryptography",
"cryptography.hazmat",
"cryptography.hazmat.backends.openssl.backend",
"cryptography.hazmat.bindings._rust.openssl",
"cryptography.hazmat.bindings.openssl",
"cryptography.hazmat.primitives.hashes",
"cryptography.hazmat.primitives.asymetric",
"cryptography.hazmat.primitives.ciphers",
"cryptography.hazmat.primitives.kdf",
"cryptography.hazmat.primitives.serialization",
"cryptography.hazmat.primitives.twofactor",
"cryptography.fernet",
"cryptography.exceptions",
)


if scripts_ENABLED:
Expand Down

0 comments on commit 38d3bd4

Please sign in to comment.