Jump to content

[Solved] How To Install Python Dependencies For Weblate


maicol07

Recommended Posts

Hi,

I'm trying to install weblate (https://weblate.org), a translation platform, but I don't know how to install Python Dependencies...

Here is the list:

Software requirements

Python dependencies

Weblate is written in Python and supports Python 2.7, 3.4 or newer. The following dependencies can be installed using pip or your distribution packages:

 

Django (>= 1.10)

https://www.djangoproject.com/

siphashc (>= 0.8)

https://github.com/WeblateOrg/siphashc

Translate-toolkit (>= 2.0.0)

http://toolkit.translatehouse.org/

Six (>= 1.7.0)

https://pypi.python.org/pypi/six

Mercurial (>= 2.8) (optional for Mercurial repositories support)

https://www.mercurial-scm.org/

social-auth-core (>= 1.3.0)

https://python-social-auth.readthedocs.io/

social-auth-app-django (>= 1.2.0)

https://python-social-auth.readthedocs.io/

django-appconf (>= 1.0)

https://github.com/django-compressor/django-appconf

Whoosh (>= 2.7.0)

https://bitbucket.org/mchaput/whoosh/wiki/Home

PIL or Pillow library

https://python-pillow.org/

lxml (>= 3.1.0)

http://lxml.de/

PyYaML (>= 3.0) (optional for YAML support)

http://pyyaml.org/wiki/PyYAML

defusedxml (>= 0.4)

https://bitbucket.org/tiran/defusedxml

dateutil

https://labix.org/python-dateutil

django_compressor (>= 2.1.1)

https://github.com/django-compressor/django-compressor

django-crispy-forms (>= 1.6.1)

https://django-crispy-forms.readthedocs.io/

Django REST Framework (>=3.4)

http://www.django-rest-framework.org/

libravatar (optional for federated avatar support)

You need to additionally install pydns (on Python 2) or py3dns (on Python 3) to make libravatar work.

 

https://pypi.python.org/pypi/pyLibravatar

 

pyuca (>= 1.1) (optional for proper sorting of strings)

https://github.com/jtauber/pyuca

babel (optional for Android resources support)

http://babel.pocoo.org/

Database backend

Any database supported in Django will work, see Database setup for Weblate and backends documentation for more details.

pytz (optional, but recommended by Django)

https://pypi.python.org/pypi/pytz/

python-bidi (optional for proper rendering of badges in RTL languages)

https://github.com/MeirKriheli/python-bidi

tesserocr (>= 2.0.0) (optional for screenshots OCR)

https://github.com/sirfz/tesserocr

akismet (>= 1.0) (optional for suggestion spam protection)

https://github.com/ubernostrum/akismet

Other system requirements

The following dependencies have to be installed on the system:

 

Git (>= 1.6)

https://git-scm.com/

hub (optional for sending pull requests to GitHub)

https://hub.github.com/

git-review (optional for Gerrit support)

https://pypi.python.org/pypi/git-review

git-svn (>= 2.10.0) (optional for Subversion support)

https://git-scm.com/docs/git-svn

tesseract and its data (optional for screenshots OCR)

https://github.com/tesseract-ocr/tesseract

 

How to do this?

Thanks

 

P.S.: I can't put the list of dependencies in a code box because I am on mobile...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...