diff options
author | Johannes Dewender <github@JonnyJD.net> | 2013-10-16 16:03:28 +0200 |
---|---|---|
committer | Johannes Dewender <github@JonnyJD.net> | 2013-10-18 19:50:43 +0200 |
commit | 87764f020bf1b9c1cad2218ef0b5d4f502d89468 (patch) | |
tree | 2e5089f74f77671ef3d182ff98cd40a57754bec7 | |
parent | 9df1c5014be0d00cc6e5e15a52da2852d7a0895a (diff) | |
download | configshell-fb-87764f020bf1b9c1cad2218ef0b5d4f502d89468.tar.gz |
debian: fix setuptools usage
Signed-off-by: Johannes Dewender <github@JonnyJD.net>
-rw-r--r-- | debian/control | 2 | ||||
-rwxr-xr-x | debian/rules | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/debian/control b/debian/control index 6a9890d..71c5a84 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: configshell-fb Section: python Priority: optional Maintainer: Andy Grover <grover@groveronline.com> -Build-Depends: debhelper(>= 7.0.1), python (>= 2.6)|python2.6 +Build-Depends: debhelper(>= 7.0.1), python (>= 2.6)|python2.6, python-setuptools Standards-Version: 3.8.1 Package: python-configshell-fb diff --git a/debian/rules b/debian/rules index 7f48a20..8d58400 100755 --- a/debian/rules +++ b/debian/rules @@ -5,6 +5,8 @@ install_dir = debian/tmp setup = /usr/bin/python ./setup.py --quiet name = configshell-fb +export PYTHONPATH = $$PYTHONPATH:./$(install_dir)/lib/configshell/ + binary: binary-indep binary-arch: @@ -31,6 +33,7 @@ install: build build: build-stamp build-stamp: dh_testdir + mkdir -p $(install_dir)/lib/configshell $(setup) build --build-base $(build_dir) install --no-compile --install-purelib $(install_dir)/lib/configshell --install-scripts $(install_dir)/bin echo "2.6" > $(install_dir)/lib/configshell/.version mkdir -p $(build_dir) doc/ |