~cjwatson/convoy/wsgi-environ

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Colin Watson
  • Date: 2017-02-18 13:36:49 UTC
  • Revision ID: cjwatson@canonical.com-20170218133649-xkw8z1j6a8soim7j
Install symlinks on the Python module path to
/usr/share/convoy/convoy.wsgi, so that it is importable as convoy.wsgi.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
        python$* setup.py test -vv
20
20
endif
21
21
 
22
 
override_dh_auto_test: $(PYTHON2:%=test-python%)
 
 
b'\\ No newline at end of file'
 
22
override_dh_auto_test: $(PYTHON2:%=test-python%)
 
23
 
 
24
override_dh_link:
 
25
        set -e; for py2 in $(PYTHON2); do \
 
26
                dh_link usr/share/convoy/convoy.wsgi \
 
27
                        usr/lib/python$$py2/dist-packages/convoy/wsgi.py; \
 
28
        done