pythonPackages.azure*: use pythonNamespaces

This commit is contained in:
Jonathan Ringer
2020-03-17 15:43:56 -07:00
committed by Jon
parent 9c8565f731
commit cf0f90b85e
25 changed files with 35 additions and 100 deletions

View File

@@ -27,10 +27,7 @@ buildPythonPackage rec {
];
# this is still needed for when the version is overrided
# to previous versions. E.g azure-cli
postInstall = lib.optionalString isPy3k ''
rm -f $out/${python.sitePackages}/azure/{,mgmt/}__init__.py
'';
pythonNamespaces = [ "azure.mgmt" ];
# has no tests
doCheck = false;