mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-27 14:40:28 +00:00
GP-0 Correct PyGhidra installEditablePyGhidra build task to work offline
This commit is contained in:
parent
e7e62d0fe6
commit
bd4d110a51
@ -62,8 +62,12 @@ task installJPype(type: Exec) {
|
||||
// Install PyGhidra in editable mode to the development virtual environment
|
||||
task installEditablePyGhidra(type: Exec) {
|
||||
dependsOn("installJPype")
|
||||
|
||||
File depsDir = file("${DEPS_DIR}/PyGhidra")
|
||||
File binRepoDir = file("${BIN_REPO}/ExternalPyWheels")
|
||||
def dir = depsDir.exists() ? depsDir : binRepoDir
|
||||
|
||||
commandLine "$PYTHON3_VENV", "-m", "pip", "install", "-e", "src/main/py"
|
||||
commandLine "$PYTHON3_VENV", "-m", "pip", "install", "-e", "src/main/py", "--no-index", "-f", "$dir"
|
||||
}
|
||||
|
||||
if (findPython3(false)) {
|
||||
|
Loading…
Reference in New Issue
Block a user