doc/book/en/admin/setup.rst
branchstable
changeset 9268 fc24e783dca5
parent 8597 293a595f4365
child 9269 7aa57201b0cd
equal deleted inserted replaced
9267:24d9b86dfa54 9268:fc24e783dca5
   129 .. _PipInstallation:
   129 .. _PipInstallation:
   130 
   130 
   131 `pip` install
   131 `pip` install
   132 -------------
   132 -------------
   133 
   133 
   134 pip_ is a python utility that helps downloading, building, installing, and
   134 `pip <http://pip.openplans.org/>`_ is a python tool that helps downloading,
   135 managing python packages and their dependencies. It is fully compatible with
   135 building, installing, and managing Python packages and their dependencies. It
   136 `virtualenv`_ and installs the packages from sources published on the
   136 is fully compatible with `virtualenv`_ and installs the packages from sources
   137 `The Python Package Index`_.
   137 published on the `The Python Package Index`_.
   138 
   138 
   139 .. _`pip`: http://pip.openplans.org/
       
   140 .. _`virtualenv`: http://virtualenv.openplans.org/
   139 .. _`virtualenv`: http://virtualenv.openplans.org/
   141 
   140 
   142 A working compilation chain is needed to build the modules that include C
   141 A working compilation chain is needed to build the modules that include C
   143 extensions. If you definitively wont, installing `Lxml <http://lxml.de/>`_,
   142 extensions. If you definitively wont, installing `Lxml <http://lxml.de/>`_,
   144 `Twisted Web <http://twistedmatrix.com/trac/wiki/Downloads/>`_ and `libgecode
   143 `Twisted Web <http://twistedmatrix.com/trac/wiki/Downloads/>`_ and `libgecode
   145 <http://www.gecode.org/>`_ will help.
   144 <http://www.gecode.org/>`_ will help.
   146 
   145 
   147 To install |cubicweb| and its dependencies, just run::
   146 For Debian, these minimal dependencies can be obtained by doing::
       
   147 
       
   148   apt-get install gcc python-pip python-dev python-lxml
       
   149 
       
   150 or, if you prefer to get as much as possible from pip::
       
   151 
       
   152   apt-get install gcc python-pip python-dev libxslt1-dev libxml2-dev
       
   153 
       
   154 For Windows, you can install pre-built packages (possible `source
       
   155 <http://www.lfd.uci.edu/~gohlke/pythonlibs/>`_). For a minimal setup, install
       
   156 `pip <http://www.lfd.uci.edu/~gohlke/pythonlibs/#pip>`_, `setuptools
       
   157 <http://www.lfd.uci.edu/~gohlke/pythonlibs/#setuptools>`_, `libxml-python
       
   158 <http://www.lfd.uci.edu/~gohlke/pythonlibs/#libxml-python>`_, `lxml
       
   159 <http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml>`_ and `twisted
       
   160 <http://www.lfd.uci.edu/~gohlke/pythonlibs/#twisted>`_ from this source making
       
   161 sure to choose the correct architecture and version of Python.
       
   162 
       
   163 Finally, install |cubicweb| and its dependencies, by running::
   148 
   164 
   149   pip install cubicweb
   165   pip install cubicweb
   150 
   166 
   151 There is also a wide variety of :ref:`cubes <AvailableCubes>`. You can access a
   167 There is also a wide variety of :ref:`cubes <AvailableCubes>`. You can access a
   152 list of available cubes on
   168 list of available cubes on