Cura-packaging/_3rd-party/numpy-stl/rules
2017-04-29 21:26:11 +02:00

39 lines
1015 B
Makefile
Executable File

#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
export DH_VERBOSE = 1
export PYBUILD_CLEAN_ARGS=--no-pytest-runner
%:
dh $@ --with python2 \
--with python3 \
--buildsystem=pybuild \
--parallel
#### CONFIGURE ####
#override_dh_auto_configure:
# @echo "Nothing to configure over here..."
#### BUILD ####
#override_dh_auto_build:
# # RELEASE
# for PYX in $(shell pyversions -rv) $(shell py3versions -rv) ; do \
# python$${PYX} setup.py build ; \
# python$${PYX} setup.py install --root=debian/numpy-stl ; \
# python$${PYX} setup.py clean ; \
# done
#
# # DEBUG
# for PYX in $(shell pyversions -rv) $(shell py3versions -rv) ; do \
# python$${PYX}-dbg setup.py build ; \
# python$${PYX}-dbg setup.py install --root=debian/numpy-stl ; \
# python$${PYX}-dbg setup.py clean ; \
# done
override_dh_auto_test:
@echo "Nothing to test over here..."
override_dh_install:
dh_install --fail-missing