pythonPackages.spacy: fix import error

Importing spacy fails with:

ModuleNotFoundError: No module named 'pkg_resources

spaCy probably worked before because a dependency had setuptools as a
propagated dependency. This change adds setuptools to spacy's
propogatedBuildInputs.

Tested with the en_core_web_sm model.
This commit is contained in:
Daniël de Kok 2019-09-29 10:00:01 +02:00 committed by Frederik Rietdijk
parent bef773ed53
commit d2ccabaeea

View file

@ -21,6 +21,7 @@
, blis
, wasabi
, srsly
, setuptools
}:
buildPythonPackage rec {
@ -55,6 +56,7 @@ buildPythonPackage rec {
blis
wasabi
srsly
setuptools
] ++ lib.optional (pythonOlder "3.4") pathlib;
checkInputs = [