pythonPackages.pybind11: cleanup recipe
This commit is contained in:
parent
ad733b5505
commit
6dadfaa197
@ -28,7 +28,7 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DEIGEN3_INCLUDE_DIR=${eigen}/include/eigen3"
|
"-DEIGEN3_INCLUDE_DIR=${eigen}/include/eigen3"
|
||||||
] ++ lib.optionals (!python.isPy2) [
|
] ++ lib.optionals (python.isPy3k) [
|
||||||
# Enable some tests only on Python 3. The "test_string_view" test
|
# Enable some tests only on Python 3. The "test_string_view" test
|
||||||
# 'testTypeError: string_view16_chars(): incompatible function arguments'
|
# 'testTypeError: string_view16_chars(): incompatible function arguments'
|
||||||
# fails on Python 2.
|
# fails on Python 2.
|
||||||
@ -50,8 +50,8 @@ buildPythonPackage rec {
|
|||||||
popd
|
popd
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installCheckTarget = "pytest";
|
doCheck = true;
|
||||||
doInstallCheck = true;
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytest
|
pytest
|
||||||
numpy
|
numpy
|
||||||
|
Loading…
x
Reference in New Issue
Block a user