pythonPackages.azure-mgmt-common: fix namespace issue
This commit is contained in:
parent
a0440ad8b5
commit
fdd6245e53
|
@ -28,6 +28,7 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
postInstall = if isPy3k then "" else ''
|
postInstall = if isPy3k then "" else ''
|
||||||
echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/mgmt/__init__.py
|
echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/mgmt/__init__.py
|
||||||
|
echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/__init__.py
|
||||||
'';
|
'';
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
Loading…
Reference in New Issue