azure-cli: force PEP420 for azure-mgmt packages

This commit is contained in:
Jonathan Ringer
2020-02-10 16:45:11 -08:00
committed by Jon
parent 17377f441c
commit 3f7f043dea
@@ -37,6 +37,11 @@ let
substituteInPlace setup.cfg \ substituteInPlace setup.cfg \
--replace "azure-namespace-package = azure-mgmt-nspkg" "" --replace "azure-namespace-package = azure-mgmt-nspkg" ""
''; '';
# force PEP420
postInstall = ''
rm -f $out/${py.sitePackages}/azure/{,mgmt/}__init__.py
'';
}); });
py = python.override { py = python.override {