Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Mention python3-venv and libpq-dev dependencies in contribution guide #11740

Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/11740.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Mention python3-venv and libpq-dev dependencies in contribution guide.
4 changes: 3 additions & 1 deletion docs/development/contributing_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ recommended for development. More information about WSL can be found at
<https://docs.microsoft.com/en-us/windows/wsl/install>. Running Synapse natively
on Windows is not officially supported.

The code of Synapse is written in Python 3. To do pretty much anything, you'll need [a recent version of Python 3](https://wiki.python.org/moin/BeginnersGuide/Download).
The code of Synapse is written in Python 3. To do pretty much anything, you'll need [a recent version of Python 3](https://wiki.python.org/moin/BeginnersGuide/Download), including support for [virtual environments](https://docs.python.org/3/library/venv.html). On Debian-derived Linux distros running `sudo apt install python3-venv` should be enough.

Synapse can connect to PostgreSQL via the Python plugin libpq-dev, so to build from source you need the PostgreSQL C client library, including its development header files. On Debian-derived Linux distros you can install them using `sudo apt install libpq-dev`.

The source code of Synapse is hosted on GitHub. You will also need [a recent version of git](https://github.com/git-guides/install-git).

Expand Down