Skip to content

Commit a924aa5

Browse files
author
Bobby Hoggard
committed
Pull request #254: Fix RE build
Merge in LCL/wolframclientforpython from hotfix/RE-517869 to master * commit '0289b05ae138a19afbf2d2fb1b556aa01060db34': Prepend virtualenv path to $PATH. python -> ${python.exe}
2 parents f3ba235 + 0289b05 commit a924aa5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

scripts/re_build_WolframClient.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
<target name='Installer.WolframClientForPython.execute' extensionOf='Deploy.execute'>
7474

7575
<!-- Ensure all necessary modules are installed -->
76-
<exec executable="python">
76+
<exec executable="${python.exe}">
7777
<arg value="-m" />
7878
<arg value="pip" />
7979
<arg value="install" />
@@ -84,7 +84,7 @@
8484
</exec>
8585

8686
<!-- Run setup script -->
87-
<exec executable="python">
87+
<exec executable="${python.exe}">
8888
<arg value="setup.py" />
8989
<arg value="sdist" />
9090
<arg value="bdist_wheel" />
@@ -113,7 +113,7 @@
113113
<target name='Web.WolframClientForPython.execute.custom' extensionOf='Web.execute.custom'>
114114

115115
<!-- Create a virtual environment to build docs in -->
116-
<exec executable="python3.6">
116+
<exec executable="${python.exe}">
117117
<arg value="-m" />
118118
<arg value="venv" />
119119
<arg value="${tmp_directory}/venv" />
@@ -134,7 +134,7 @@
134134
<exec dir= "${basedir}/docs" executable="build_docs.sh">
135135
<arg value="-b" />
136136
<arg value="${files_directory}" />
137-
<env key="PATH" path="${env.PATH}:${tmp_directory}/venv/bin"/>
137+
<env key="PATH" path="${tmp_directory}/venv/bin:${env.PATH}"/>
138138
</exec>
139139

140140
</target>
@@ -167,4 +167,4 @@
167167
</exec>
168168
</target>
169169

170-
</project>
170+
</project>

0 commit comments

Comments
 (0)