mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 09:49:23 +02:00
GP-4838: Keep track of used python dependencies
This commit is contained in:
parent
d007200b11
commit
7878748c4b
2 changed files with 4 additions and 2 deletions
|
@ -51,6 +51,7 @@ if ("32".equals(System.getProperty("sun.arch.data.model"))) {
|
||||||
***************************************************************************************/
|
***************************************************************************************/
|
||||||
project.ext.SUPPORTED_PY_VERSIONS = ['3.12', '3.11', '3.10', '3.9', '3.8', '3.7']
|
project.ext.SUPPORTED_PY_VERSIONS = ['3.12', '3.11', '3.10', '3.9', '3.8', '3.7']
|
||||||
project.ext.PYTHON3 = findPython3()
|
project.ext.PYTHON3 = findPython3()
|
||||||
|
project.ext.PYTHON_DEPS = new HashSet<String>()
|
||||||
|
|
||||||
/*********************************************************************************
|
/*********************************************************************************
|
||||||
* Define the location of bin repo
|
* Define the location of bin repo
|
||||||
|
|
|
@ -77,6 +77,7 @@ rootProject.assembleDistribution {
|
||||||
|
|
||||||
ext.distributePyDep = { name ->
|
ext.distributePyDep = { name ->
|
||||||
File dep = findPyDep(name)
|
File dep = findPyDep(name)
|
||||||
|
PYTHON_DEPS.add(dep)
|
||||||
def zipPath = getZipPath(project)
|
def zipPath = getZipPath(project)
|
||||||
rootProject.assembleDistribution {
|
rootProject.assembleDistribution {
|
||||||
into ("${zipPath}/pypkg/dist") {
|
into ("${zipPath}/pypkg/dist") {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue