summary refs log tree commit diff
path: root/pkgs/development/python-modules/azure-mgmt-iothubprovisioningservices
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2020-03-17 15:43:56 -0700
committerJon <jonringer@users.noreply.github.com>2020-03-18 12:20:51 -0700
commitcf0f90b85e4dede1da85f97d48ccc0e9a53bf36f (patch)
treebfa2a56830648aa9e9d157089a4fe4234cbd51ff /pkgs/development/python-modules/azure-mgmt-iothubprovisioningservices
parent9c8565f7314d3f5db52594ae001f9562a6ed0872 (diff)
downloadnixpkgs-cf0f90b85e4dede1da85f97d48ccc0e9a53bf36f.tar
nixpkgs-cf0f90b85e4dede1da85f97d48ccc0e9a53bf36f.tar.gz
nixpkgs-cf0f90b85e4dede1da85f97d48ccc0e9a53bf36f.tar.bz2
nixpkgs-cf0f90b85e4dede1da85f97d48ccc0e9a53bf36f.tar.lz
nixpkgs-cf0f90b85e4dede1da85f97d48ccc0e9a53bf36f.tar.xz
nixpkgs-cf0f90b85e4dede1da85f97d48ccc0e9a53bf36f.tar.zst
nixpkgs-cf0f90b85e4dede1da85f97d48ccc0e9a53bf36f.zip
pythonPackages.azure*: use pythonNamespaces
Diffstat (limited to 'pkgs/development/python-modules/azure-mgmt-iothubprovisioningservices')
-rw-r--r--pkgs/development/python-modules/azure-mgmt-iothubprovisioningservices/default.nix5
1 files changed, 1 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/azure-mgmt-iothubprovisioningservices/default.nix b/pkgs/development/python-modules/azure-mgmt-iothubprovisioningservices/default.nix
index c72ca47cff9..c668e5ed4d6 100644
--- a/pkgs/development/python-modules/azure-mgmt-iothubprovisioningservices/default.nix
+++ b/pkgs/development/python-modules/azure-mgmt-iothubprovisioningservices/default.nix
@@ -26,10 +26,7 @@ buildPythonPackage rec {
     azure-mgmt-nspkg
   ];
 
-  postInstall = lib.optionalString isPy3k ''
-    rm $out/${python.sitePackages}/azure/__init__.py
-    rm $out/${python.sitePackages}/azure/mgmt/__init__.py
-  '';
+  pythonNamespaces = [ "azure.mgmt" ];
 
   # has no tests
   doCheck = false;