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

@@ -24,11 +24,7 @@ buildPythonPackage rec {
azure-mgmt-nspkg
];
# still needed when overriding 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;