python3Packages.qiskit-ignis: fixup
This commit is contained in:
parent
d1adc1e55a
commit
512e77a30f
@ -3,6 +3,7 @@
|
|||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
, fetchpatch
|
||||||
|
, python
|
||||||
, numpy
|
, numpy
|
||||||
, qiskit-terra
|
, qiskit-terra
|
||||||
, scikitlearn
|
, scikitlearn
|
||||||
@ -38,11 +39,12 @@ buildPythonPackage rec {
|
|||||||
scikitlearn
|
scikitlearn
|
||||||
scipy
|
scipy
|
||||||
];
|
];
|
||||||
|
postInstall = "rm -rf $out/${python.sitePackages}/docs"; # this dir can create conflicts
|
||||||
|
|
||||||
# Tests
|
# Tests
|
||||||
pythonImportsCheck = [ "qiskit.ignis" ];
|
pythonImportsCheck = [ "qiskit.ignis" ];
|
||||||
dontUseSetuptoolsCheck = true;
|
dontUseSetuptoolsCheck = true;
|
||||||
preCheck = ''export HOME=$TMPDIR'';
|
preCheck = "export HOME=$TMPDIR";
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
ddt
|
ddt
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
|
Loading…
x
Reference in New Issue
Block a user