diff options
author | Adam Stokes <adam.stokes@ubuntu.com> | 2013-07-26 09:16:44 -0700 |
---|---|---|
committer | Adam Stokes <adam.stokes@ubuntu.com> | 2013-07-26 09:16:44 -0700 |
commit | 9c97f8f731aaedd46ecd9c3194c4410b73a3b983 (patch) | |
tree | 465fafd9c76e8a6dcae9be4fb0b7801303a33521 /debian/rules | |
parent | f499e561043af2f801deb48fdc91d51a29ba22e8 (diff) | |
parent | de0b58ac472837b2e75729e00827117072a83893 (diff) | |
download | sos-9c97f8f731aaedd46ecd9c3194c4410b73a3b983.tar.gz |
Merge pull request #177 from battlemidget/feature-distutils-3
Add support for distutils
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index 15b7f5ec..90637142 100755 --- a/debian/rules +++ b/debian/rules @@ -5,4 +5,17 @@ DH_ALWAYS_EXCLUDE=.git %: dh $@ --with python2 -override_dh_auto_test: +override_dh_auto_install: + python setup.py \ + install \ + --install-lib=usr/share/sosreport/ \ + --install-data=usr/ \ + --install-scripts=usr/share/sosreport/ \ + --root=$(CURDIR)/debian/sosreport/ \ + --no-compile -O0 + +override_dh_clean: + rm -rf build/ + rm -rf dist/ + find . -name '*.pyc' -delete + |