Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
yorevs committed Jan 17, 2025
1 parent 6d86cda commit 93e0728
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 54 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,5 @@ build/
venv
response_audio.mp3
logs
models/
mp-data/
Expand Down
6 changes: 3 additions & 3 deletions gradle/dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ import org.gradle.internal.os.OperatingSystem;
String detectPython() {
def pythonHome = System.getenv('PYTHON_HOME') ?: null
if (pythonHome != null) {
return pythonHome + '/python3.11'
return pythonHome + '/python3'
}

def output = new ByteArrayOutputStream()
exec {
commandLine 'bash', '-c', 'command -v python3.11'
commandLine 'bash', '-c', 'command -v python3'
standardOutput = output
}

Expand All @@ -25,7 +25,7 @@ String detectPython() {
print("Python successfully detected: " + pythonHome)

exec {
commandLine python3.11, '-V'
commandLine python3, '-V'
}

return pythonHome
Expand Down
51 changes: 0 additions & 51 deletions src/main/requirements.txt

This file was deleted.

0 comments on commit 93e0728

Please sign in to comment.