3
0
Fork 0
forked from mirrors/nixpkgs

python2.pkgs.pexpect: don't recompile bytecode

This commit is contained in:
Frederik Rietdijk 2020-06-15 19:02:19 +02:00
parent 80f321e834
commit 7e5769c70c

View file

@ -2,9 +2,10 @@
, buildPythonPackage
, fetchPypi
, ptyprocess
, isPy3k
}:
buildPythonPackage rec {
buildPythonPackage (rec {
pname = "pexpect";
version = "4.8.0";
@ -40,4 +41,8 @@ buildPythonPackage rec {
any platform that supports the standard Python pty module.
'';
};
}
# TODO: move into main set, this was to avoid a rebuild
} // lib.optionalAttrs (!isPy3k ) {
# syntax error in _async module, likely intended only for Python 3.
dontUsePythonRecompileBytecode = !isPy3k;
})