You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1014 B

include Makefile.conf
.PHONY: all dist dist-egg dist-whl install install-prefix install-sys compile clean devenv envtest
all: dist
# create wheel and egg package in dist/
dist: dist-whl dist-egg
# create wheel package in dist/
dist-whl: compile
python3 bdist_wheel
# create egg package in dist/
dist-egg: compile
python3 bdist_egg
# installs the package into the user home
install: compile
python3 install --force --user
# installs the package into PREFIX path
install-prefix: compile
python3 install --force $(PREFIX_OPT)
# installs the package system wide
install-sys: compile
python3 install --force
# build the module into build/
python3 build_ext $(DEBUG_OPT) $(PREFIX_OPT)
rm -r $(BUILD_DIR)
rm -r $(DIST_DIR)
PYTHONPATH=`pwd`/build/lib.linux-x86_64-3.7:`pwd`/build/lib.macosx-10.9-x86_64-3.8: \
bash -l
python3 -c 'import pEp'