python3Packages.qiskit-ignis: fixup

This commit is contained in:
Drew Risinger 2020-05-11 17:32:41 -04:00 committed by Jon
parent d1adc1e55a
commit 512e77a30f

View File

@ -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