diff options
author | Guido Günther <agx@sigxcpu.org> | 2017-02-02 09:10:13 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2017-02-02 09:10:13 +0100 |
commit | d904b61686e1aa542d437f6da35fc795d92dd7c4 (patch) | |
tree | 36343bc8cff7f8c69ea8ef5066c7c550c4473cdf /debian/rules | |
parent | 32779fc580e2855df460aa948ac280d85d7c8e06 (diff) |
Use a symlink to supercomand instead of pkgresources.load_entry_point
This sppeds up startup a lot and thus makes bash completion much more
responsive:
$ gbp buildpackge --help
real 0m0,573s
user 0m0,532s
sys 0m0,036s
$ time python /usr/lib/python2.7/dist-packages/gbp/scripts/supercommand.py buildpackage --help
real 0m0,051s
user 0m0,040s
sys 0m0,012s
Closes: #853283
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules index 00702d4d..1be5dbcc 100755 --- a/debian/rules +++ b/debian/rules @@ -34,6 +34,7 @@ override_dh_auto_install: mkdir -p debian/git-buildpackage/$(ZSH_COMPDIR) install -m644 debian/git-buildpackage.zsh-completion \ debian/git-buildpackage/$(ZSH_COMPDIR)/_gbp + chmod a+x debian/tmp/usr/lib/python2.?/dist-packages/gbp/scripts/supercommand.py override_dh_auto_clean: dh_auto_clean |