diff options
| author | StevenWdV <stevenwdv@gmail.com> | 2021-12-06 12:13:21 +0100 |
|---|---|---|
| committer | StevenWdV <stevenwdv@gmail.com> | 2021-12-06 12:13:21 +0100 |
| commit | d9953dcc09ce61e249e40857bbf5cb98e0bb1fbf (patch) | |
| tree | 7c297eafd2edb3b3e65165ab1603996dc6c1e4ab | |
| parent | 282b04af8e296ff9d026a99accc2a324015e100c (diff) | |
Fix Python wrapper
| -rw-r--r-- | wrappers/python/Makefile | 4 | ||||
| -rw-r--r-- | wrappers/python/README.md | 4 | ||||
| -rwxr-xr-x | wrappers/python/setup.py | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/wrappers/python/Makefile b/wrappers/python/Makefile index 3a73676..be4beaa 100644 --- a/wrappers/python/Makefile +++ b/wrappers/python/Makefile @@ -1,11 +1,11 @@ -.PHONY: build test clean +.PHONY: pack test clean ifdef PLAT_NAME SETUP_ARGS += --plat-name=$(PLAT_NAME) endif # Build for current platform only -build: +pack: ./setup.py bdist_wheel $(SETUP_ARGS) test: diff --git a/wrappers/python/README.md b/wrappers/python/README.md index b849e62..6175910 100644 --- a/wrappers/python/README.md +++ b/wrappers/python/README.md @@ -13,13 +13,13 @@ First build the shared Go library. Next: Build wheel using library for current platform: ```shell -make +make pack ``` Build wheel using library for specified platform (passed to setuptools `--plat-name`): ```shell -make PLAT_NAME=win32 +make pack PLAT_NAME=win32 ``` To install the wheel, run: diff --git a/wrappers/python/setup.py b/wrappers/python/setup.py index f4b7876..d729da6 100755 --- a/wrappers/python/setup.py +++ b/wrappers/python/setup.py @@ -43,6 +43,6 @@ setup( version="0.1.0", packages=["eduvpncommon"], python_requires=">=3.6", - package_data={"eduvpncommon": ["*eduvpn_verify*"]}, + package_data={"eduvpncommon": ["lib/*eduvpn_verify*"]}, cmdclass={"bdist_wheel": bdist_wheel}, ) |
