65 apt-get install cubicweb cubicweb-dev |
65 apt-get install cubicweb cubicweb-dev |
66 |
66 |
67 # if you want pyramid, the recommended application server |
67 # if you want pyramid, the recommended application server |
68 apt-get install pyramid-cubicweb |
68 apt-get install pyramid-cubicweb |
69 |
69 |
70 # or if you want twisted (considered deprecated) |
|
71 apt-get install cubicweb-twisted |
|
72 |
|
73 ``cubicweb`` installs the framework itself, allowing you to create new |
70 ``cubicweb`` installs the framework itself, allowing you to create new |
74 instances. ``cubicweb-dev`` installs the development environment |
71 instances. ``cubicweb-dev`` installs the development environment |
75 allowing you to develop new cubes. |
72 allowing you to develop new cubes. |
76 |
73 |
77 There is also a wide variety of :ref:`cubes <AvailableCubes>`. You can access a |
74 There is also a wide variety of :ref:`cubes <AvailableCubes>`. You can access a |
135 |
132 |
136 .. _`virtualenv`: http://virtualenv.openplans.org/ |
133 .. _`virtualenv`: http://virtualenv.openplans.org/ |
137 |
134 |
138 A working compilation chain is needed to build the modules that include C |
135 A working compilation chain is needed to build the modules that include C |
139 extensions. If you really do not want to compile anything, installing `lxml <http://lxml.de/>`_, |
136 extensions. If you really do not want to compile anything, installing `lxml <http://lxml.de/>`_, |
140 `Twisted Web <http://twistedmatrix.com/trac/wiki/Downloads/>`_ and `libgecode |
137 and `libgecode <http://www.gecode.org/>`_ will help. |
141 <http://www.gecode.org/>`_ will help. |
|
142 |
138 |
143 For Debian, these minimal dependencies can be obtained by doing:: |
139 For Debian, these minimal dependencies can be obtained by doing:: |
144 |
140 |
145 apt-get install gcc python-pip python-dev python-lxml |
141 apt-get install gcc python-pip python-dev python-lxml |
146 |
142 |
153 |
149 |
154 - pip http://www.lfd.uci.edu/~gohlke/pythonlibs/#pip |
150 - pip http://www.lfd.uci.edu/~gohlke/pythonlibs/#pip |
155 - setuptools http://www.lfd.uci.edu/~gohlke/pythonlibs/#setuptools |
151 - setuptools http://www.lfd.uci.edu/~gohlke/pythonlibs/#setuptools |
156 - libxml-python http://www.lfd.uci.edu/~gohlke/pythonlibs/#libxml-python> |
152 - libxml-python http://www.lfd.uci.edu/~gohlke/pythonlibs/#libxml-python> |
157 - lxml http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml and |
153 - lxml http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml and |
158 - twisted http://www.lfd.uci.edu/~gohlke/pythonlibs/#twisted |
|
159 |
154 |
160 Make sure to choose the correct architecture and version of Python. |
155 Make sure to choose the correct architecture and version of Python. |
161 |
156 |
162 Finally, install |cubicweb| and its dependencies, by running:: |
157 Finally, install |cubicweb| and its dependencies, by running:: |
163 |
158 |
164 # for pyramid, the recommended application server |
|
165 pip install cubicweb[pyramid] |
159 pip install cubicweb[pyramid] |
166 |
|
167 # or for twisted, considered deprecated (used by "cubicweb-ctl") |
|
168 pip install cubicweb[etwist] |
|
169 |
160 |
170 Many other :ref:`cubes <AvailableCubes>` are available. A list is available at |
161 Many other :ref:`cubes <AvailableCubes>` are available. A list is available at |
171 `PyPI <http://pypi.python.org/pypi?%3Aaction=search&term=cubicweb&submit=search>`_ |
162 `PyPI <http://pypi.python.org/pypi?%3Aaction=search&term=cubicweb&submit=search>`_ |
172 or at the `CubicWeb.org forge`_. |
163 or at the `CubicWeb.org forge`_. |
173 |
164 |