mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-15 10:43:15 +00:00
commit
e4f5229508
3 changed files with 6 additions and 21 deletions
|
|
@ -16,26 +16,9 @@ Whether you just want to try out the demo site, or you're ready to dive in and c
|
|||
Dependencies
|
||||
============
|
||||
|
||||
Barebones
|
||||
---------
|
||||
Wagtail is based on the Django web framework and various other Python libraries. For the full list of absolutely required libraries, see `setup.py <https://github.com/torchbox/wagtail/blob/master/setup.py>`__.
|
||||
|
||||
The basic Wagtail installation is pure Python. No build tools are required on the host machine.
|
||||
For the full list of absolutely required libraries, see `setup.py <https://github.com/torchbox/wagtail/blob/master/setup.py>`__.
|
||||
|
||||
If you are installing Wagtail differently (e.g. from the Git repository), you must run ``python setup.py install`` from the repository root. The above command will install all Wagtail dependencies.
|
||||
|
||||
Administration UI
|
||||
-----------------
|
||||
|
||||
.. warning::
|
||||
|
||||
The administrative interface requires django-libsass and Pillow. The project template bundled with Wagtail includes them (see :doc:`creating_your_project`). You must add the above libraries if you are adding Wagtail to an existing project, unless you will be using it
|
||||
in a purely framework fashion without visiting wagtailadmin or hooking it up to the urlconf.
|
||||
|
||||
* django-libsass>=0.2
|
||||
* Pillow>=2.6.1
|
||||
|
||||
Both django-libsass and Pillow have native-code components that require further attention:
|
||||
Most of Wagtail's dependencies are pure Python and will install automatically using ``pip``, but there are a few native-code components that require further attention:
|
||||
|
||||
* libsass-python (for compiling SASS stylesheets) - requires a C++ compiler and the Python development headers.
|
||||
* Pillow (for image processing) - additionally requires libjpeg and zlib.
|
||||
|
|
@ -78,6 +61,8 @@ The quickest way to install Wagtail is using pip. To get the latest stable versi
|
|||
pip install wagtail
|
||||
|
||||
|
||||
If you are installing Wagtail differently (e.g. from the Git repository), you must run ``python setup.py install`` from the repository root. The above command will install all Wagtail dependencies.
|
||||
|
||||
To check that Wagtail can be seen by Python, type ``python`` in your shell then try to import ``wagtail`` from the prompt:
|
||||
|
||||
.. code-block:: python
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -30,9 +30,11 @@ PY3 = sys.version_info[0] == 3
|
|||
install_requires = [
|
||||
"Django>=1.7.1,<1.8",
|
||||
"django-compressor>=1.4",
|
||||
"django-libsass>=0.2",
|
||||
"django-modelcluster>=0.5",
|
||||
"django-taggit==0.12.3",
|
||||
"django-treebeard==3.0",
|
||||
"Pillow>=2.6.1",
|
||||
"beautifulsoup4>=4.3.2",
|
||||
"html5lib==0.999",
|
||||
"Unidecode>=0.04.14",
|
||||
|
|
|
|||
|
|
@ -1,8 +1,6 @@
|
|||
# Minimal requirements
|
||||
Django>=1.7.1,<1.8
|
||||
wagtail==0.8.6
|
||||
django-libsass>=0.2
|
||||
Pillow>=2.6.1
|
||||
|
||||
# Recommended components (require additional setup):
|
||||
# psycopg2==2.5.2
|
||||
|
|
|
|||
Loading…
Reference in a new issue