Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 # Uncomment this to turn on verbose mode.
4 export DH_VERBOSE=1
5
6 export SETUPTOOLS_SCM_PRETEND_VERSION=3.6.23
7
8
9 # magic debhelper rule
10 %:
11 dh $@ --buildsystem=pybuild
12
13 override_dh_auto_install:
14 set -e && for py3vers in $(shell py3versions -sv); do \
15 python$$py3vers setup.py install --install-layout=deb \
16 --root $(CURDIR)/debian/python3-gsw; \
17 done
18 dh_numpy3
19
20 execute_after_override_dh_auto_clean:
21 rm -fr gsw.egg-info .pybuild
22 rm -fr build __pycache__
23
24 override_dh_auto_build:
25 python3 setup.py build --force