Skip to content

Commit

Permalink
Fixed issue where pip wouldn't be executable
Browse files Browse the repository at this point in the history
  • Loading branch information
ethankhall committed Jul 10, 2018
1 parent df1e2a6 commit ed1cedc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ public ParallelWheelGenerationTask() {
onlyIf(task -> {
ByteArrayOutputStream stdOut = new ByteArrayOutputStream();
getProject().exec(execSpec -> {
execSpec.setExecutable(getPythonDetails().getVirtualEnvironment().getPip());
execSpec.args("freeze", "--all");
execSpec.setExecutable(getPythonDetails().getVirtualEnvInterpreter());
execSpec.args(getPythonDetails().getVirtualEnvironment().getPip(), "freeze", "--all");
execSpec.setStandardOutput(stdOut);
});

Expand Down

0 comments on commit ed1cedc

Please sign in to comment.