Avoid "rustup" when building cryptography for contrib-pysite // Resolve #3865

This commit is contained in:
Ivan Kravets
2021-03-15 17:00:16 +02:00
parent 5b4a78ba20
commit 622a190a61

View File

@ -137,6 +137,9 @@ def build_contrib_pysite_package(target_dir, with_metadata=True):
fs.rmtree(target_dir)
os.makedirs(target_dir)
# issue 3865: There is no "rustup" in "Raspbian GNU/Linux 10 (buster)"
os.environ["CRYPTOGRAPHY_DONT_BUILD_RUST"] = "1"
# build dependencies
args = [
get_pythonexe_path(),