diff options
Diffstat (limited to 'wrappers/python/Makefile')
| -rw-r--r-- | wrappers/python/Makefile | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/wrappers/python/Makefile b/wrappers/python/Makefile index 690901f..3a73676 100644 --- a/wrappers/python/Makefile +++ b/wrappers/python/Makefile @@ -1,11 +1,17 @@ -.PHONY: compile test +.PHONY: build test clean -compile: - python3 -m discovery +ifdef PLAT_NAME +SETUP_ARGS += --plat-name=$(PLAT_NAME) +endif + +# Build for current platform only +build: + ./setup.py bdist_wheel $(SETUP_ARGS) test: - $(MAKE) -C ../../exports + $(MAKE) -C ../../exports copy-to COPY_TARGET=../wrappers/python/eduvpncommon/lib python3 -m unittest test_discovery + rm eduvpncommon/lib/* clean: - # Nothing to do + rm -rf build/ dist/ *.egg-info/ lib/* |
