pythonPackages.azure-mgmt-datalake-analytics: fix python3 namespace
This commit is contained in:
parent
67ca54a677
commit
364794c91e
|
@ -1,6 +1,8 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, python
|
||||
, isPy3k
|
||||
, msrestazure
|
||||
, azure-common
|
||||
, azure-mgmt-datalake-nspkg
|
||||
|
@ -22,6 +24,12 @@ buildPythonPackage rec {
|
|||
azure-mgmt-datalake-nspkg
|
||||
];
|
||||
|
||||
postInstall = lib.optionalString isPy3k ''
|
||||
rm $out/${python.sitePackages}/azure/__init__.py
|
||||
rm $out/${python.sitePackages}/azure/mgmt/__init__.py
|
||||
rm $out/${python.sitePackages}/azure/mgmt/datalake/__init__.py
|
||||
'';
|
||||
|
||||
# has no tests
|
||||
doCheck = false;
|
||||
|
||||
|
|
Loading…
Reference in a new issue