diff options
author | Johannes Dewender <github@JonnyJD.net> | 2013-10-25 15:42:04 +0200 |
---|---|---|
committer | Johannes Dewender <github@JonnyJD.net> | 2013-10-25 16:06:36 +0200 |
commit | 33b33310a7e50a3a0c577cfe941da67ed63da994 (patch) | |
tree | ad52955659efc08f4900461310fef3b326802c57 | |
parent | e5366ad538e7d728997deb2b4a7e40e56037dc71 (diff) | |
download | rtslib-fb-33b33310a7e50a3a0c577cfe941da67ed63da994.tar.gz |
debian: fix setuptools usage, fix #34
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 cf43950..5516951 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: rtslib-fb Section: python Priority: optional Maintainer: Andy Grover <andy@groveronline.com> -Build-Depends: debhelper(>= 7.0.1), python, python-epydoc +Build-Depends: debhelper(>= 7.0.1), python, python-epydoc, python-setuptools Standards-Version: 3.8.1 Package: python-rtslib-fb diff --git a/debian/rules b/debian/rules index 327c845..74ec3e8 100755 --- a/debian/rules +++ b/debian/rules @@ -6,6 +6,8 @@ setup = /usr/bin/python ./setup.py --quiet pkgname = rtslib-fb name = rtslib +export PYTHONPATH = $$PYTHONPATH:./$(install_dir)/lib/rtslib/ + binary: binary-indep binary-arch: @@ -32,6 +34,7 @@ install: build build: build-stamp build-stamp: dh_testdir + mkdir -p $(install_dir)/lib/rtslib $(setup) build --build-base $(build_dir) install \ --no-compile --install-purelib $(install_dir)/lib/rtslib \ --install-scripts $(install_dir)/bin |