python311Packages.pymc: fix setuptools

This commit is contained in:
Felix Buehler 2024-04-28 17:25:42 +02:00
parent d40ab11e88
commit 9d39bb6cdd

View File

@ -10,6 +10,7 @@
, pythonOlder , pythonOlder
, scipy , scipy
, typing-extensions , typing-extensions
, setuptools
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -26,6 +27,10 @@ buildPythonPackage rec {
hash = "sha256-tiOXbryY2TmeBVrG5cIMeDJ4alolBQ5LosdfH3tpVOA="; hash = "sha256-tiOXbryY2TmeBVrG5cIMeDJ4alolBQ5LosdfH3tpVOA=";
}; };
build-system = [
setuptools
];
postPatch = '' postPatch = ''
substituteInPlace setup.py \ substituteInPlace setup.py \
--replace-fail ', "pytest-cov"' "" --replace-fail ', "pytest-cov"' ""