Skip to content

Commit

Permalink
Switch to pybuild buildsystem
Browse files Browse the repository at this point in the history
pybuild is a replacement for `python_distutils`, which requires
python2. pybuild is part of `dh-python`, so it will be available wherever our
build deps are installed.

See also:
 * https://wiki.debian.org/Python/LibraryStyleGuide#Overview
 * https://wiki.debian.org/Python/Pybuild
  • Loading branch information
richvdh committed May 18, 2020
1 parent 7955a07 commit 2de6b91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
endif

%:
dh $@ --with python2 $(DH_ARGS)
dh $@ --buildsystem=pybuild --with python2 $(DH_ARGS)

override_dh_auto_clean:
rm -rf doc/_build
Expand Down

0 comments on commit 2de6b91

Please sign in to comment.