python3Packages.azure-mgmt-batchai: fix python3 namespace

This commit is contained in:
Jonathan Ringer 2019-10-23 03:05:37 -07:00 committed by Jon
parent 94a2bab032
commit 1b056e6d15

View File

@ -24,6 +24,11 @@ buildPythonPackage rec {
azure-mgmt-nspkg
];
postInstall = lib.optionalString isPy3k ''
rm $out/${python.sitePackages}/azure/__init__.py
rm $out/${python.sitePackages}/azure/mgmt/__init__.py
'';
# has no tests
doCheck = false;