diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2022-05-14 02:22:35 -0400 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2022-05-14 02:22:35 -0400 |
| commit | 3c1c40158da1e2af9aced53056ad4c3aaafc0913 (patch) | |
| tree | 3a2029e068d6f10e65fdad99167e4a406946d1fa /scripts | |
| parent | 5926698ea5013fab44d95d8a0f046888398565de (diff) | |
remove more vestigal py2 code
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/install_api.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/install_api.py b/scripts/install_api.py index aa12679f..cc054034 100755 --- a/scripts/install_api.py +++ b/scripts/install_api.py @@ -126,7 +126,6 @@ else: binaryninja_pth_path = os.path.join(install_path, 'binaryninja.pth') with open(binaryninja_pth_path, 'wb') as pth_file: pth_file.write((api_path + "\n").encode('charmap')) - if sys.version_info.major < 3 or (sys.version_info.major == 3 and sys.version_info.minor <= 10): - pth_file.write((api_path + sys.version[0] + "\n").encode('charmap')) #support for python2/3 QT bindings + pth_file.write((api_path + sys.version[0] + "\n").encode('charmap')) #support for QT bindings print("Binary Ninja API installed using {}".format(binaryninja_pth_path)) |
