python: always unzip eggs installed into the store

grepping and tagging are two use cases coming to mind
This commit is contained in:
Florian Friesdorf 2012-07-21 00:20:21 +02:00
parent 62f698dfd3
commit 5c564f26f0

@ -19,7 +19,7 @@
, installCommand ?
''
easy_install --prefix="$out" .
easy_install --always-unzip --prefix="$out" .
''
, buildPhase ? "true"
@ -47,8 +47,6 @@ python.stdenv.mkDerivation (attrs // {
pythonPath = [ setuptools] ++ pythonPath;
# XXX: Should we run `easy_install --always-unzip'? It doesn't seem
# to have a noticeable impact on small scripts.
installPhase = ''
mkdir -p "$out/lib/${python.libPrefix}/site-packages"