python311Packages.blspy: fix setuptools import error
This commit is contained in:
committed by
Martin Weinelt
parent
2d10f80173
commit
36d2c4f0e2
@@ -48,6 +48,13 @@ buildPythonPackage rec {
|
||||
})
|
||||
];
|
||||
|
||||
# ImportError: cannot import name 'setuptools' from 'setuptools'
|
||||
# this is resolved in the next release, v2
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "from setuptools import Extension, setup, setuptools" "from setuptools import Extension, setup"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ cmake setuptools-scm ];
|
||||
|
||||
buildInputs = [ boost gmp.static pybind11 ];
|
||||
|
||||
Reference in New Issue
Block a user