#!/usr/bin/make -f

# Prevent setuptools/distribute from accessing the internet.
export http_proxy = http://127.0.0.1:9


export DH_ALWAYS_EXCLUDE = .svn:.git:.bzr:.hg:.gitignore


%:
	dh $@ --with python2


# For debianization, bundle the required library.
override_dh_auto_install:
	cd python_data_logging && python setup.py install --force --root=../debian/yandex-python-tskv-logging --no-compile -O0 --install-layout=deb
	dh_auto_install $@


override_dh_auto_clean:
	dh_auto_clean
	rm -rf *.egg-info
