mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 02:39:44 +02:00
Python3 support
This commit is contained in:
parent
d7c1f65f43
commit
92d0f1dacf
101 changed files with 11413 additions and 13 deletions
14
Ghidra/Features/Pyhidra/src/main/py/setup.py
Normal file
14
Ghidra/Features/Pyhidra/src/main/py/setup.py
Normal file
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
import sys
|
||||
from setuptools import setup
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
# This is necessary so that we can build the sdist using pip wheel.
|
||||
# Unfortunately we have to have this work without having setuptools
|
||||
# which pip will install in an isolated environment from the
|
||||
# dependencies directory.
|
||||
if "bdist_wheel" in sys.argv and "sdist" not in sys.argv:
|
||||
sys.argv.append("sdist")
|
||||
setup()
|
Loading…
Add table
Add a link
Reference in a new issue