azure-cli: force PEP420 for azure-mgmt packages

This commit is contained in:
Jonathan Ringer 2020-02-10 14:48:59 -08:00 committed by Jon
parent 17377f441c
commit 3f7f043dea

View File

@ -37,6 +37,11 @@ let
substituteInPlace setup.cfg \
--replace "azure-namespace-package = azure-mgmt-nspkg" ""
'';
# force PEP420
postInstall = ''
rm -f $out/${py.sitePackages}/azure/{,mgmt/}__init__.py
'';
});
py = python.override {