summary refs log tree commit diff
path: root/debian/build_virtualenv (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Allow bytecode again (#9502)Jonathan de Jong2021-02-261-3/+3
| | | | | | | In #75, bytecode was disabled (from a bit of FUD back in `python<2.4` days, according to dev chat), I think it's safe enough to enable it again. Added in `__pycache__/` and `.pyc`/`.pyd` to `.gitignore`, to extra-insure compiled files don't get committed. `Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>`
* Fix Debian builds on Xenial (#9254)Dan Callahan2021-01-291-1/+3
| | | | | | | | Adds note about updating dh-virtualenv once we drop support for Xenial. We can't update now, because it needs debhelper 12, while Xenial only backports 10. Signed-off-by: Dan Callahan <danc@element.io>
* Explicitly install test dependencies when building deb packages (#8523)Andrew Morgan2020-10-121-1/+1
| | | | | After https://github.com/matrix-org/synapse/pull/8377, the deb packages no longer indirectly installed the `"test"` dependencies, causing debian packages to fail to build while carrying out the unit tests. This PR installs `test` dependencies explicitly when building debian packages.
* update dh-virtualenv (#7526)Richard van der Hoff2020-05-191-1/+0
|
* Automate generation of the sample and debian log configs (#6627)Richard van der Hoff2020-01-031-0/+3
|
* Include systemd-python in Debian package to allow logging to journal (#5261)Silke Hofstra2019-06-271-1/+1
| | | Signed-off-by: Silke Hofstra <silke@slxh.eu>
* Generate the debian config during build (#4444)Richard van der Hoff2019-01-241-2/+32
| | | | | | Rather than hardcoding a config which we always forget to update, generate it from the default config.
* debian package: symlink to python-3.X (#4433)Richard van der Hoff2019-01-231-1/+14
| | | | | | | | | | In the debian package, make the virtualenv symlink python to /usr/bin/python3.X rather than /usr/bin/python3. Also make sure we depend on the right python3.x package. This might help a bit with subtle failures when people install a package from the wrong distro (https://github.com/matrix-org/synapse/issues/4431).
* Avoid packaging _trial_temp directory (#4326)Richard van der Hoff2019-01-021-2/+1
| | | | | | Make sure we don't put the _trial_temp directory in the package target directory. Fixes https://github.com/matrix-org/synapse/issues/4322
* Install the optional dependencies into the debian package (#4325)Richard van der Hoff2019-01-021-1/+2
| | | | | | | | 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...
* Debian packaging via dh_virtualenv (#4285)Richard van der Hoff2018-12-201-0/+48