mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-07-30 07:18:37 -09:00
GP-0: Python build improvements
This commit is contained in:
@@ -25,9 +25,10 @@ task createPythonVirtualEnvironment(type: Exec) {
|
||||
project.ext.PYTHON3_VENV = "${rootProject.projectDir}/${venvDir}/${binDir}/python${suffix}"
|
||||
project.ext.PIP3_VENV = "${rootProject.projectDir}/${venvDir}/${binDir}/pip${suffix}"
|
||||
|
||||
commandLine rootProject.PYTHON3, "-m", "venv", venvDir, "--copies"
|
||||
commandLine rootProject.PYTHON3
|
||||
args "-m", "venv", venvDir, "--copies"
|
||||
}
|
||||
|
||||
if (findPython3(false)) {
|
||||
if (findPython3(false, false)) {
|
||||
rootProject.prepDev.dependsOn createPythonVirtualEnvironment
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user