Commit a2b94bb1 authored by Vangelis Koukis's avatar Vangelis Koukis
Browse files

Update README with known good package versions

parent 5625fd0f
......@@ -3,29 +3,20 @@ DEVELOP.txt - Information on how to setup a development environment.
Dependencies
------------
Synnefo depends on the following Python modules
Synnefo is written in Python 2.6 and depends on the following Python modules
[package versions confirmed to be compatible are in braces]
- django 1.2
- simplejson
- selenium
- pyzmq-static
- iso8601
- dateutil
- django 1.2 [Django==1.2.4]
- simplejson [simplejson==2.1.3]
- selenium [?]
- pyzmq-static [pyzmq==2.0.10.1]
- pycurl [pycurl==7.19.0]
- python-dateutil [python-dateutil==1.4.1]
WARNING: version python-dateutil==2.0 downloaded by pip known *not* to work with Python 2.6
also, depending on the database engine of choice, on one of the following:
- MySQL-python
- psycopg2
Temporary fix - to be removed soon
----------------------------------
After going through the installation instructions below, the following fix must
be applied.
jQuery.ajax POST is not working unless you edit lib/python2.6/site-packages/piston/utils.py.
On def content_type change:
ctype = self.request.META.get('CONTENT_TYPE', type_formencoded)
to
ctype = self.request.META.get('CONTENT_TYPE', type_formencoded).split(";")[0]
- MySQL-python [MySQL-python==1.2.3]
- psycopg2 [psycopg2==2.4]
Preparing the development environment
......@@ -41,7 +32,7 @@ pip to compile the dependencies correctly.
$export ARCHFLAGS="-arch x86_64"
*On Ubuntu, a few more packages must be isntalled before installing the
*On Ubuntu, a few more packages must be installed before installing the
prerequisite Python libraries
$sudo aptitude install libcurl3-gnutls libcurl3-gnutls-dev uuid-dev
......@@ -54,7 +45,7 @@ that python is already installed on the host.
$ virtualenv --python=python2.6 synnefo --no-site-packages
...
$ cd synnefo
$ ./bin/pip install django django-piston pycurl simplejson selenium pyzmq-static
$ ./bin/pip install <list_of_prerequisites>
3. At this point you should have all required dependencies installed. Now you
have to select a database engine. The choices are: postgres, mysql and sqlite.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment