Fixed portable build error for pillow package. Updated create_portable.txt.

This commit is contained in:
Emanuel Schuetze 2013-10-23 20:20:02 +02:00
parent 7fcc786cf9
commit 571e3d9efc
2 changed files with 24 additions and 21 deletions

View File

@ -1,24 +1,35 @@
How to create a new portable Windows distribution of OpenSlides:
----------------------------------------------------------------
1.) Follow the OpenSlides installation instructions for windows,
but add the option "-Z" when executing easy_install, e.g.:
1. Install Python 2.7.x and Setuptools
Follow the instructions in the README, section III (Windows installation), step 1.
2. Install all required python packages (see requirements_production.txt):
easy_install -Z django django-mptt beautifulsoup4 bleach pillow reportlab tornado django-haystack whoosh
2.) To update the version resource of the prebuild openslides.exe
pywin32 should be installed (it is not strictly required but at
least for releases that are to be published it is highly advisable)
To install it just grab the binary installer from:
3. Install pywin32 from binary installer:
http://sourceforge.net/projects/pywin32/files/pywin32/Build%20218/pywin32-218.win32-py2.7.exe/download
3.) Run in the main directory of the OpenSlides checkout:
Pywin32 is used to update the version resource of the prebuild openslides.exe.
It is not strictly required but at least for published releases it is highly advisable.
4. Install wxPython from binary installer:
http://downloads.sourceforge.net/wxpython/wxPython2.8-win32-unicode-2.8.12.1-py27.exe
WxPython is required to build the OpenSlides GUI frontend.
5. Run in the main directory of the OpenSlides checkout:
python extras\win32-portable\prepare_portable.py
4.) The portable OpenSlides distribution is now ready as a zip archive
in the 'dist' directory
=> The portable OpenSlides distribution is created as a zip archive in
the 'dist' directory of OpenSlides checkout.
NOTE: Creating the portable Windows distribution of OpenSlides is not possible

View File

@ -77,15 +77,7 @@ SITE_PACKAGES = {
],
},
"pillow": {
"copy": [
"PIL",
"_imaging.pyd",
"_imagingcms.pyd",
"_imagingft.pyd",
"_imagingmath.pyd",
"_imagingtk.pyd",
"_webp.pyd",
],
"copy": ["PIL"],
},
"tornado": {
"copy": ["tornado"],