aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/azure-mgmt-billing
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-billing
parent9c8565f7314d3f5db52594ae001f9562a6ed0872 (diff)
pythonPackages.azure*: use pythonNamespaces
Diffstat (limited to 'pkgs/development/python-modules/azure-mgmt-billing')
-rw-r--r--pkgs/development/python-modules/azure-mgmt-billing/default.nix5
1 files changed, 1 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/azure-mgmt-billing/default.nix b/pkgs/development/python-modules/azure-mgmt-billing/default.nix
index 8c658145d7eb..6e9656950d5b 100644
--- a/pkgs/development/python-modules/azure-mgmt-billing/default.nix
+++ b/pkgs/development/python-modules/azure-mgmt-billing/default.nix
@@ -30,10 +30,7 @@ buildPythonPackage rec {
--replace "azure-namespace-package = 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;