python3Packages.azure-loganalytics: fix python3 namespace
This commit is contained in:
parent
bb1013511e
commit
a7057501e2
@ -1,6 +1,8 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, python
|
||||
, isPy3k
|
||||
, msrest
|
||||
, azure-common
|
||||
}:
|
||||
@ -20,6 +22,10 @@ buildPythonPackage rec {
|
||||
azure-common
|
||||
];
|
||||
|
||||
postInstall = lib.optionalString isPy3k ''
|
||||
rm -rf $out/${python.sitePackages}/azure/__init__.py
|
||||
'';
|
||||
|
||||
# has no tests
|
||||
doCheck = false;
|
||||
|
||||
@ -27,6 +33,6 @@ buildPythonPackage rec {
|
||||
description = "This is the Microsoft Azure Log Analytics Client Library";
|
||||
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ mwilsoninsight ];
|
||||
maintainers = with maintainers; [ mwilsoninsight jonringer ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user