Weblate: Installing from source

Created on 17 Dec 2019  路  4Comments  路  Source: WeblateOrg/weblate

Describe the bug
I'm tryng to update to latest from source and run into some trouble. To be honest I don't have much experience with pip so maybe I'm just missing something basic.
So I'm following this instruction which says to follow the installation instructions for my system first, which is Debian 9.

To Reproduce
Steps to reproduce the behavior:

  1. All the necessary packages are already installed I'm creating virtualenv for Weblate
    virtualenv --python=python3 weblate-env-3.10
    Output is the following:
Already using interpreter /usr/bin/python3
Using base prefix '/usr'
New python executable in /var/www/weblate-env-3.10/bin/python3
Also creating executable in /var/www/weblate-env-3.10/bin/python
Installing setuptools, pkg_resources, pip, wheel...done.
  1. Then I activate the environment . weblate-env-3.10/bin/activate
  2. pip install Weblate The output is here
  3. pip install psycopg2-binary
  4. Now if i go to weblate-env-3.10/lib/python3.5/site-packages there is a directory called weblate
  5. git clone https://github.com/WeblateOrg/weblate.git /root/weblate-src
  6. Now I run pip install -e /root/weblate-src Output of the command
  7. But now if I go to weblate-env-3.10/lib/python3.5/site-packages there is no more directory called weblate

I guess at this point I'm supposed to manually copy weblate folder from weblate-src, am I?
If so it would be nice to mention it in the documentation, just for clarity.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

question wontfix

All 4 comments

No, pip install -e creates there weblate.egg-link link with location to the actual source.

Thanks for clearing it out, didn't notice it.

Does it mean that in the future to update I just need to pull changes from repository to update?
Off course with performing database migrations etc.

Yes, pulling to update the source, but you need to do other needed steps, for example install updated dependencies.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Skybladev2 picture Skybladev2  路  5Comments

rvanlaak picture rvanlaak  路  5Comments

nijel picture nijel  路  3Comments

reloxx13 picture reloxx13  路  3Comments

mlaggner picture mlaggner  路  3Comments