Skip to content

Commit

Permalink
[#1355] fix python path for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
xael-fry committed Mar 30, 2022
1 parent 5bd109a commit b5d8244
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ jobs:
with:
python-version: '3.x'
architecture: 'x64'
cache: 'pip'
cache-dependency-path: '**/requirements.txt'
- run: pip install -r python/requirements.txt

- name: Set up JDK ${{ matrix.jdk }}
uses: actions/setup-java@v2
Expand Down
2 changes: 1 addition & 1 deletion framework/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@
<condition property="playExtension" value="">
<and><os family="unix"/></and>
</condition>
<condition property="pythonExecutable" value="${basedir}/../python/python.exe">
<condition property="pythonExecutable" value="python">
<and><os family="windows"/></and>
</condition>
<condition property="pythonExecutable" value="python">
Expand Down
2 changes: 1 addition & 1 deletion play.bat
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
@echo off
"%~dp0python\python.exe" "%~dp0play" %*
"python" "%~dp0play" %*
2 changes: 2 additions & 0 deletions python/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
html5lib
mechanize

0 comments on commit b5d8244

Please sign in to comment.