astroid/debian/rules

21 lines
462 B
Makefile
Executable File

#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export PYBUILD_NAME=astroid
export PYBUILD_BEFORE_TEST=cp -r {dir}/tests {build_dir}/astroid/
export PYBUILD_AFTER_TEST=rm -r {build_dir}/astroid/tests
export SETUPTOOLS_USE_DISTUTILS=stdlib
%:
dh $@ --buildsystem pybuild --with python3
override_dh_installdocs:
dh_installdocs -i README.rst
override_dh_auto_clean:
dh_auto_clean
rm -rf $(CURDIR)/.eggs