added requirement PIL (operations on graphic files)

This commit is contained in:
zalun 2010-01-23 13:27:43 +00:00
Родитель 57299c3927
Коммит 38a83dd49b
2 изменённых файлов: 44 добавлений и 10 удалений

53
INSTALL
Просмотреть файл

@ -1,9 +1,7 @@
#################### ####################
First Installation First Installation
Virtualenv is providing a stable environment for Django Virtualenv is providing a stable environment for Django. (1)
Installation of VirtualEnv under Ubuntu is described in detail in this post:
http://www.saltycrane.com/blog/2009/05/notes-using-pip-and-virtualenv-django/
Assuming Python 2.5+ is already installed it should be enough to follow these Assuming Python 2.5+ is already installed it should be enough to follow these
steps (some commands are specific to Ubuntu with Bash): steps (some commands are specific to Ubuntu with Bash):
@ -68,11 +66,46 @@ steps (some commands are specific to Ubuntu with Bash):
$ ./scripts/runserver.sh $ ./scripts/runserver.sh
FlightDeck may be accessed by loading http://127.0.0.1:8090/ FlightDeck may be accessed by loading http://127.0.0.1:8090/
----
* Scripts assume one has installed the FlightDeck environment in
/srv/python-envirenments/flightdeck/ if it is a different one
please edit the scripts/config_local.sh
** No *_local.py file should be shared between users, they contain ##############################
informations relevant only to the local installation of FlightDeck. Extending the Python codebase
The exclude file is provided by default.
1. Install the package
$ cd /srv/python-environments
$ pip install -E flightdeck/ pil
2. Save the requirements
$ pip freeze -E flightdeck/ > /path/to/projects/FlightDeck/tools/pip-requirements.txt
##############################
Adding third party projects
DOC: http://pip.openplans.org/requirement-format.html
#####################
Updating requirements
1. Clear PYTHONPATH (could be optional, but it's working for me)
$ export PYTHONPATH=
2. Install from pip-requirements.txt
$ cd /srv/python-environments
$ sudo pip install -E flightdeck/ -r /path/to/projects/FlightDeck/tools/pip-requirements.txt
----
* Scripts assume one has installed the FlightDeck environment in
/srv/python-envirenments/flightdeck/ if it is a different one
please edit the scripts/config_local.sh
** No *_local.py file should be shared between users, they contain
informations relevant only to the local installation of FlightDeck.
The exclude file is provided by default.
----
(1) Installation of VirtualEnv under Ubuntu is described in detail in this post:
http://www.saltycrane.com/blog/2009/05/notes-using-pip-and-virtualenv-django/
(2) Pip requirements file format
http://pip.openplans.org/requirement-format.html

Просмотреть файл

@ -1,3 +1,4 @@
Django==1.1.1 Django==1.1.1
PIL==1.1.7
wsgiref==0.1.2 wsgiref==0.1.2
yolk==0.4.1 yolk==0.4.1