Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubicweb
Commits
fc24e783dca5
Commit
7e97a1b1
authored
Aug 29, 2013
by
Paul Tonelli
Browse files
[doc] additional documentation about pip install
under both Windows and Debian --HG-- branch : stable
parent
24d9b86dfa54
Changes
1
Hide whitespace changes
Inline
Side-by-side
doc/book/en/admin/setup.rst
View file @
fc24e783
...
...
@@ -131,12 +131,11 @@ activated virtual environment.
`pip` install
-------------
pip_ is a python
utility
that helps downloading,
building, installing, and
managing
p
ython packages and their dependencies. It
is fully compatible with
`virtualenv`_ and installs the packages from sources
published on the
`The Python Package Index`_.
`
pip
<http://pip.openplans.org/>`
_ is a python
tool
that helps downloading,
building, installing, and
managing
P
ython packages and their dependencies. It
is fully compatible with
`virtualenv`_ and installs the packages from sources
published on the
`The Python Package Index`_.
.. _`pip`: http://pip.openplans.org/
.. _`virtualenv`: http://virtualenv.openplans.org/
A working compilation chain is needed to build the modules that include C
...
...
@@ -144,7 +143,24 @@ extensions. If you definitively wont, installing `Lxml <http://lxml.de/>`_,
`Twisted Web <http://twistedmatrix.com/trac/wiki/Downloads/>`_ and `libgecode
<http://www.gecode.org/>`_ will help.
To install |cubicweb| and its dependencies, just run::
For Debian, these minimal dependencies can be obtained by doing::
apt-get install gcc python-pip python-dev python-lxml
or, if you prefer to get as much as possible from pip::
apt-get install gcc python-pip python-dev libxslt1-dev libxml2-dev
For Windows, you can install pre-built packages (possible `source
<http://www.lfd.uci.edu/~gohlke/pythonlibs/>`_). For a minimal setup, install
`pip <http://www.lfd.uci.edu/~gohlke/pythonlibs/#pip>`_, `setuptools
<http://www.lfd.uci.edu/~gohlke/pythonlibs/#setuptools>`_, `libxml-python
<http://www.lfd.uci.edu/~gohlke/pythonlibs/#libxml-python>`_, `lxml
<http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml>`_ and `twisted
<http://www.lfd.uci.edu/~gohlke/pythonlibs/#twisted>`_ from this source making
sure to choose the correct architecture and version of Python.
Finally, install |cubicweb| and its dependencies, by running::
pip install cubicweb
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment