forked from mirrors/nixpkgs
python3Packages.awkward: fix runtime "No module named 'setuptools'"
This commit is contained in:
parent
b78d6e2813
commit
6e0b8a6f77
|
@ -7,6 +7,7 @@
|
|||
, pytestCheckHook
|
||||
, pyyaml
|
||||
, rapidjson
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -20,7 +21,7 @@ buildPythonPackage rec {
|
|||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ pyyaml rapidjson ];
|
||||
propagatedBuildInputs = [ numpy ];
|
||||
propagatedBuildInputs = [ numpy setuptools ]; # https://github.com/scikit-hep/awkward/blob/main/requirements.txt
|
||||
|
||||
dontUseCmakeConfigure = true;
|
||||
|
||||
|
@ -28,6 +29,8 @@ buildPythonPackage rec {
|
|||
dontUseSetuptoolsCheck = true;
|
||||
disabledTestPaths = [ "tests-cuda" ];
|
||||
|
||||
pythonImportsCheck = [ "awkward" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Manipulate JSON-like data with NumPy-like idioms";
|
||||
homepage = "https://github.com/scikit-hep/awkward";
|
||||
|
|
Loading…
Reference in a new issue