19 lines
383 B
Makefile
Executable File
19 lines
383 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
export PYBUILD_NAME=sm-tools
|
|
|
|
%:
|
|
dh $@ --with python3 --buildsystem=pybuild
|
|
|
|
override_dh_install:
|
|
python3 setup.py install -f --install-layout=deb --root=$(CURDIR)/debian/tmp
|
|
|
|
python3 setup.py bdist_wheel \
|
|
--universal \
|
|
-d $(CURDIR)/debian/sm-tools-wheels/usr/share/python3-wheels
|
|
|
|
dh_install
|
|
|
|
override_dh_python3:
|
|
dh_python3 --shebang=/usr/bin/python3
|