diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2022-04-25 17:18:19 -0400 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2022-04-25 17:18:19 -0400 |
| commit | 6841afec59e8742473a6e408737c7265d0de309b (patch) | |
| tree | ef61c65c7bb436f33011083c426e5bff6b728ce9 /scripts | |
| parent | f2159334633f80dd8423cfbfc73060fa02f85865 (diff) | |
allow pth for pyside with 3.10 support
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/install_api.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install_api.py b/scripts/install_api.py index fddf0478..4b23ed99 100755 --- a/scripts/install_api.py +++ b/scripts/install_api.py @@ -120,7 +120,7 @@ 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): + 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 print("Binary Ninja API installed using {}".format(binaryninja_pth_path)) |
