diff options
| author | StevenWdV <stevenwdv@gmail.com> | 2021-12-03 17:51:12 +0100 |
|---|---|---|
| committer | StevenWdV <stevenwdv@gmail.com> | 2021-12-03 17:51:12 +0100 |
| commit | 282b04af8e296ff9d026a99accc2a324015e100c (patch) | |
| tree | 2f636c58ab499e6e68123f17118dc5535fd9b484 | |
| parent | 125e4f185a19948c022879ce8e0b915fd028a7e1 (diff) | |
Fix Python build on Linux
| -rw-r--r-- | wrappers/python/.gitignore | 1 | ||||
| -rwxr-xr-x | wrappers/python/setup.py | 12 |
2 files changed, 7 insertions, 6 deletions
diff --git a/wrappers/python/.gitignore b/wrappers/python/.gitignore index 82f4fd9..aec5943 100644 --- a/wrappers/python/.gitignore +++ b/wrappers/python/.gitignore @@ -2,3 +2,4 @@ /dist/ *.egg-info/ /eduvpncommon/lib/* +__pycache__/ diff --git a/wrappers/python/setup.py b/wrappers/python/setup.py index 74f9266..f4b7876 100755 --- a/wrappers/python/setup.py +++ b/wrappers/python/setup.py @@ -15,16 +15,16 @@ class bdist_wheel(_bdist_wheel): self.plat_name_supplied = True # Force use platform libpath = { - # TODO probably partly incorrect + # TODO arm may be incorrect; also add more "win-amd64": "windows/amd64/eduvpn_verify.dll", "win32": "windows/386/eduvpn_verify.dll", "win-arm32": "windows/arm/eduvpn_verify.dll", "win-arm64": "windows/arm64/eduvpn_verify.dll", - "linux_x86_64": "windows/amd64/eduvpn_verify.so", - "linux_i386": "windows/386/eduvpn_verify.so", - "linux_i686": "windows/386/eduvpn_verify.so", - "linux_arm": "windows/arm/eduvpn_verify.so", - "linux_aarch64": "windows/arm64/eduvpn_verify.so", + "linux-x86_64": "linux/amd64/libeduvpn_verify.so", + "linux-i386": "linux/386/libeduvpn_verify.so", + "linux-i686": "linux/386/libeduvpn_verify.so", + "linux-arm": "linux/arm/libeduvpn_verify.so", + "linux-aarch64": "linux/arm64/libeduvpn_verify.so", } if self.plat_name not in libpath: |
