Mercurial > libervia-backend
comparison INSTALL @ 1935:1128feb54180
core: removed pyfeed and xe dependencies:
pyfeed and xe where still used only for date format handling, and there is already dateutil which is a dependency of Wokkel.
Furthermore pyfeed and xe are still not on pypi, causing troubles for installation with pip
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 17 Apr 2016 17:08:12 +0200 |
parents | e2e75c3c7c7b |
children | e7bd2945518f |
comparison
equal
deleted
inserted
replaced
1934:2daf7b4c6756 | 1935:1128feb54180 |
---|---|
3 | 3 |
4 *** | 4 *** |
5 | 5 |
6 You can automatically install SàT and its dependencies using easy_install or pip. You will however need to install Python's headers (needed to build some packages), WxPython which is available in most Gnu/Linux distributions, PyGObject and developments version of libxml2 and libxslt (to compile lxml python library). | 6 You can automatically install SàT and its dependencies using easy_install or pip. You will however need to install Python's headers (needed to build some packages), WxPython which is available in most Gnu/Linux distributions, PyGObject and developments version of libxml2 and libxslt (to compile lxml python library). |
7 | 7 |
8 NOTE: pyfeed and xe are mandatory dependencies, they should be on http://pypi.python.org (PYthon Package Index, the official repository for Python projects) and so being automatically installed; but they are not yet there (their author should do it soon), so you have to install them manually until then. | |
9 You can download them respectively on http://home.avvanta.com/%7Esteveha/pyfeed-0.7.4.tar.gz and http://home.avvanta.com/%7Esteveha/xe-0.7.4.tar.gz, then decompress them and do « python setup.py install » on both. | |
10 An other way is to use the (insecure) pip options --process-dependency-links and --allow-all-external when installing sat, options which will soon be (or already are) removed from pip. | |
11 | |
12 | 8 |
13 The environment variable SAT_INSTALL customises the installation, it contains flags separated by spaces: | 9 The environment variable SAT_INSTALL customises the installation, it contains flags separated by spaces: |
14 - "nopreinstall" skips all preinstallation checks | 10 - "nopreinstall" skips all preinstallation checks |
15 - "autodeb" automatically installs missing packages on Debian-based distributions | 11 - "autodeb" automatically installs missing packages on Debian-based distributions |
16 - "nox" disables installation of X-based packages (WxWidgets), this is useful for servers | 12 - "nox" disables installation of X-based packages (WxWidgets), this is useful for servers |
17 | 13 |
18 WxPython and PyGobject are automatically installed on Debian-based distributions if "autodeb" option is set. Indeed, on Debian-based distribution, you can type (with the root account): | 14 PyGobject is automatically installed on Debian-based distributions if "autodeb" option is set. Indeed, on Debian-based distribution, you can type (with the root account): |
19 | 15 |
20 # apt-get install python-pip python-dev libxml2-dev libxslt-dev | 16 # apt-get install python-pip python-dev libxml2-dev libxslt-dev |
21 # SAT_INSTALL=autodeb pip install . | 17 # SAT_INSTALL=autodeb pip install . |
22 | 18 |
23 On a *buntu, same commands with sudo: | 19 On a *buntu, same commands with sudo: |