forked from mirrors/nixpkgs
pythonPackages.azure-keyvault: fix python3 namespace
This commit is contained in:
parent
db6e2a01a4
commit
207046d066
|
@ -1,5 +1,7 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, python
|
||||
, isPy3k
|
||||
, fetchPypi
|
||||
, azure-common
|
||||
, azure-nspkg
|
||||
|
@ -26,6 +28,10 @@ buildPythonPackage rec {
|
|||
cryptography
|
||||
];
|
||||
|
||||
postInstall = lib.optionalString isPy3k ''
|
||||
rm $out/${python.sitePackages}/azure/__init__.py
|
||||
'';
|
||||
|
||||
# has no tests
|
||||
doCheck = false;
|
||||
|
||||
|
|
Loading…
Reference in a new issue