pythonPackages.azure-mgmt-relay: fix python3 namespace
This commit is contained in:
parent
a17947cbea
commit
3aad4fa8d6
1 changed files with 7 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
|
, python
|
||||||
|
, isPy3k
|
||||||
, msrestazure
|
, msrestazure
|
||||||
, azure-common
|
, azure-common
|
||||||
, azure-mgmt-nspkg
|
, azure-mgmt-nspkg
|
||||||
|
@ -22,6 +24,11 @@ buildPythonPackage rec {
|
||||||
azure-mgmt-nspkg
|
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
|
# has no tests
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue