summary refs log tree commit diff
path: root/debian/build_virtualenv
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2019-01-02 07:17:39 +0000
committerGitHub <noreply@github.com>2019-01-02 07:17:39 +0000
commit7134832c017fab1e4e6b90df9ad39dd618656427 (patch)
treeb1593c4d2a9c75ac373a1523b4d8ee57503c79dc /debian/build_virtualenv
parentRemove v1 only REST APIs now we don't ship matrix console (#4334) (diff)
downloadsynapse-7134832c017fab1e4e6b90df9ad39dd618656427.tar.xz
Install the optional dependencies into the debian package (#4325)
since #4298, the optional dependencies are no longer installed with a simple
`pip install .`, which meant that they were not being included in the debian
package.

The easy fix to that is dh_virtualenv --extras, but that needs dh_virtualenv
1.1...
Diffstat (limited to 'debian/build_virtualenv')
-rwxr-xr-xdebian/build_virtualenv3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/build_virtualenv b/debian/build_virtualenv
index 61ffb13192..e9ef245476 100755
--- a/debian/build_virtualenv
+++ b/debian/build_virtualenv
@@ -33,7 +33,8 @@ dh_virtualenv \
     --preinstall="lxml" \
     --preinstall="mock" \
     --extra-pip-arg="--no-cache-dir" \
-    --extra-pip-arg="--compile"
+    --extra-pip-arg="--compile" \
+    --extras="all"
 
 # we copy the tests to a temporary directory so that we can put them on the
 # PYTHONPATH without putting the uninstalled synapse on the pythonpath.