python3Packages.azure-loganalytics: fix python3 namespace

This commit is contained in:
Jonathan Ringer 2019-12-01 14:24:58 -08:00 committed by Jon
parent bb1013511e
commit a7057501e2

View file

@ -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 ];
};
}