pythonPackages.azure-cli-telemetry: fix build
This commit is contained in:
parent
ad0b21e0b1
commit
2273963940
@ -28,10 +28,10 @@ buildPythonPackage rec {
|
|||||||
# Remove overly restrictive version contraints and obsolete namespace setup
|
# Remove overly restrictive version contraints and obsolete namespace setup
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
substituteInPlace setup.py \
|
substituteInPlace setup.py \
|
||||||
--replace "applicationinsights>=0.11.1,<0.11.8" "applicationinsights" \
|
--replace "applicationinsights>=0.11.1,<0.12" "applicationinsights"
|
||||||
--replace "portalocker==1.2.1" "portalocker"
|
|
||||||
substituteInPlace setup.cfg \
|
substituteInPlace setup.cfg \
|
||||||
--replace "azure-namespace-package = azure-cli-nspkg" ""
|
--replace "azure-namespace-package = azure-cli-nspkg" ""
|
||||||
|
rm azure_bdist_wheel.py # we'll fix PEP420 namespacing
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Prevent these __init__'s from violating PEP420, only needed for python2
|
# Prevent these __init__'s from violating PEP420, only needed for python2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user