python3Packages.pot: minor fixes from PR review
This commit is contained in:
parent
1d89758e85
commit
eb683a5d77
@ -26,8 +26,7 @@ buildPythonPackage rec {
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace "--cov-report= --cov=ot" \
|
||||
""
|
||||
--replace "--cov-report= --cov=ot" ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ numpy cython ];
|
||||
@ -36,6 +35,8 @@ buildPythonPackage rec {
|
||||
++ lib.optionals enableDimensionalityReduction [ pymanopt autograd ];
|
||||
checkInputs = [ matplotlib scikit-learn pytestCheckHook ];
|
||||
|
||||
# To prevent importing of an incomplete package from the build directory
|
||||
# instead of nix store (`ot` is the top-level package name).
|
||||
preCheck = ''
|
||||
rm -r ot
|
||||
'';
|
@ -5571,7 +5571,7 @@ in {
|
||||
|
||||
postorius = callPackage ../servers/mail/mailman/postorius.nix { };
|
||||
|
||||
POT = callPackage ../development/python-modules/POT { };
|
||||
pot = callPackage ../development/python-modules/pot { };
|
||||
|
||||
potr = callPackage ../development/python-modules/potr { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user