Third Party Packages: Difference between revisions

From GCD
Jump to navigation Jump to search
No edit summary
No edit summary
Line 21: Line 21:
| 3.10
| 3.10
|
|
*PyYAML is a YAML parser and emitter for Python.
*Needed only to install initial data by "manage.py syncdb"


|-
|-

Revision as of 13:50, 17 September 2012

The following packages need be downloaded and installed:

Package Location Minimum Revision Notes
Python www.python.org/download/releases 2.4.4
  • Ensure the Python directory is added to the PATH environment variable
  • Any Python 2.4/2.5/2.6/2.7 revision should be ok
  • Python 3.0 should not be used
PyYAML pyyaml.org/wiki/PyYAML 3.10
  • PyYAML is a YAML parser and emitter for Python.
  • Needed only to install initial data by "manage.py syncdb"
Python Image Library www.pythonware.com/products/pil/ 1.1.7
  • Ensure you download the correct library for your installed version of Python
Django www.djangoproject.com/download/ 1.3
  • Django 1.4 isn't supported yet
  • Once installed you should ensure that the Django directory is in the PYTHONPATH environment variable
MySQL dev.mysql.com/downloads/mysql/ 5.0
  • When installing the Typical installation should be ok
  • When running the configuration wizard:
    • Choose Standard Configuration
    • Check Install as Windows Service
  • Ensure that the MySQL binaries are part of the PATH environment variable
  • Record the root password that you created during the install process
MySQL Python Library sourceforge.net/projects/mysql-python/ 1.2.2
  • Ensure you download the correct library for your installed version of Python (2.x)
  • Pre-compiled windows installers can be found in the MySQL for Python Forums
PyICU pyicu.osafoundation.org/ 1.0
  • python extension wrapping IBM's ICU C++ API, therefore depends on IBM's ICU (version 4.2 and 4.4 are known to work)
  • Usually can be installed with 'easy_install pyicu'.
csstidy csstidy.sourceforge.net/ 1.3
  • opensource CSS parser and optimiser
  • usually can be installed as package, or download from its website
BeautifulSoup www.crummy.com/software/BeautifulSoup/ 3.1
  • Python HTML/XML parser
  • Usually can be installed with 'easy_install BeautifulSoup'
Django compressor github.com/mintchaos/django_compressor 0.5.3
  • Compresses linked and inline javascript or CSS into a single cached file.
  • Usually can be installed with 'easy_install django_compressor'
python-stdnum arthurdejong.org/python-stdnum/ 0.3
  • Parses and validates standard numbers, in particular ISBNs.
  • Usually can be installed with 'easy_install python-stdnum'
python-yaml pyyaml.org/ 3.10
  • PyYAML is a YAML parser and emitter for Python.
  • If you only want to work in the READ_ONLY mode you do not need this.
  • Usually can be installed with 'easy_install pyyaml'
django-templatesadmin github.com/bartTC/django-templatesadmin 0.6
  • A Django app to make minor changes to your templates on the fly.
  • Usually can be installed with 'easy_install django-templatesadmin'
django-taggit github.com/alex/django-taggit 0.9.3
  • Simple tagging for django, used to support keywords.
  • Usually can be installed with 'easy_install django-taggit'
django-appconf github.com/jezdez/django-appconf 0.5
  • A helper class for handling configuration defaults of packaged apps gracefully.
  • Usually can be installed with 'easy_install django-appconf'
django-imagekit github.com/jdriscoll/django-imagekit 2.0.1
  • Automated image processing for Django models.
  • Usually can be installed with 'easy_install django-imagekit'
  • Images are not included in dumps, so far local installations for accessing the data not necessarily needed.


Under Debian, most of the needed packages (except Django compressor, django-appconf, django-imagekit, django-templatesadmin and django-taggit) can be installed using apt:

apt-get install python python-imaging python-django mysql-server python-mysqldb python-pyicu csstidy python-beautifulsoup python-stdnum

Under Ubuntu, you can install python-appconf and python-compressor as well.