Files
tryton/doc/topics/install.rst
T
Cédric Krier 8a4ba59b2d Switch to WSGI API
issue4646
review20541003
2016-03-15 16:57:26 +01:00

60 lines
2.3 KiB
ReStructuredText

.. _topics-install:
======================
How to install Tryton
======================
Prerequisites
=============
* Python 2.7 or later (http://www.python.org/)
* Werkzeug (http://werkzeug.pocoo.org/)
* wrapt (https://github.com/GrahamDumpleton/wrapt)
* lxml 2.0 or later (http://lxml.de/)
* relatorio 0.2.0 or later (http://code.google.com/p/python-relatorio/)
* Genshi (http://genshi.edgewall.org/)
* python-dateutil (http://labix.org/python-dateutil)
* polib (https://bitbucket.org/izi/polib/wiki/Home)
* python-sql 0.4 or later (http://code.google.com/p/python-sql/)
* Optional: psycopg 2.5.0 or later (http://www.initd.org/)
* Optional: psycopg2cffi 2.5.0 or later
(http://github.com/chtd/psycopg2cffi)
* Optional: MySQL-python (http://sourceforge.net/projects/mysql-python/)
* Optional: pydot (http://code.google.com/p/pydot/)
* Optional: unoconv http://dag.wieers.com/home-made/unoconv/)
* Optional: sphinx (http://sphinx.pocoo.org/)
* Optional: simplejson (http://undefined.org/python/#simplejson)
* Optional: cdecimal (http://www.bytereef.org/mpdecimal/index.html)
* Optional: python-Levenshtein
(http://github.com/miohtama/python-Levenshtein)
* Optional: bcrypt (https://github.com/pyca/bcrypt)
* Optional: mock (http://www.voidspace.org.uk/python/mock/)
Install Tryton
==============
There are three easy options to install Tryton:
* Install the version provided by your operating system distribution. This
is the quickest and recommended option for those who has operating system
that distributes Tryton.
* Install an official release. Once you've downloaded and unpacked a
trytond source release, enter the directory where the archive was
unpacked, and run: ``python setup.py install``
For advanced options, please refer to the easy_install and/or the
distutils documentation:
* http://peak.telecommunity.com/DevCenter/EasyInstall
* http://docs.python.org/inst/inst.html
* Without installation, just run ``bin/trytond`` from where the archive was
unpacked.
.. warning::
Note that you may need administrator/root privileges for this step, as
this command will by default attempt to install trytond to the Python
site-packages directory on your system.
..