doc/book/en/admin/setup.rst
changeset 9283 5f2c5eb1a820
parent 9257 ce338133c92c
parent 9269 7aa57201b0cd
child 9440 6880674c1a26
equal deleted inserted replaced
9265:614762cdc357 9283:5f2c5eb1a820
   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 really do not want to compile anything, 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 Many other :ref:`cubes <AvailableCubes>` are available. A list is available at
   152 list of available cubes on
       
   153 `PyPI <http://pypi.python.org/pypi?%3Aaction=search&term=cubicweb&submit=search>`_
   168 `PyPI <http://pypi.python.org/pypi?%3Aaction=search&term=cubicweb&submit=search>`_
   154 or at the `CubicWeb.org forge`_.
   169 or at the `CubicWeb.org forge`_.
   155 
   170 
   156 For example, installing the *blog cube* is achieved by::
   171 For example, installing the *blog cube* is achieved by::
   157 
   172