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

@@ -30,10 +30,7 @@ buildPythonPackage rec {
--replace "azure-namespace-package = azure-mgmt-nspkg" ""
'';
postInstall = lib.optionalString isPy3k ''
rm $out/${python.sitePackages}/azure/__init__.py
rm $out/${python.sitePackages}/azure/mgmt/__init__.py
'';
pythonNamespaces = [ "azure.mgmt" ];
# has no tests
doCheck = false;