2012-04-27 22:33:40 +02:00
|
|
|
How to create a new portable Windows distribution of OpenSlides:
|
|
|
|
----------------------------------------------------------------
|
|
|
|
|
2013-10-23 20:20:02 +02:00
|
|
|
1. Install Python 2.7.x and Setuptools
|
|
|
|
Follow the instructions in the README, section III (Windows installation), step 1.
|
2012-04-27 22:33:40 +02:00
|
|
|
|
|
|
|
|
2013-10-23 20:20:02 +02:00
|
|
|
2. Install all required python packages (see requirements_production.txt):
|
2013-06-29 15:15:32 +02:00
|
|
|
|
2014-04-08 20:33:07 +02:00
|
|
|
easy_install -Z django django-mptt beautifulsoup4 bleach jsonfield natsort reportlab setuptools sockjs_tornado tornado backports.ssl_match_hostname django-haystack whoosh
|
2013-06-29 15:15:32 +02:00
|
|
|
|
2012-06-23 11:18:55 +02:00
|
|
|
|
2013-10-23 20:20:02 +02:00
|
|
|
3. Install pywin32 from binary installer:
|
|
|
|
http://sourceforge.net/projects/pywin32/files/pywin32/Build%20218/pywin32-218.win32-py2.7.exe/download
|
2012-11-09 09:25:14 +01:00
|
|
|
|
2013-10-23 20:20:02 +02:00
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
=> The portable OpenSlides distribution is created as a zip archive in
|
|
|
|
the 'dist' directory of OpenSlides checkout.
|
2012-11-09 09:25:14 +01:00
|
|
|
|
|
|
|
|
2013-04-07 19:46:28 +02:00
|
|
|
NOTE: Creating the portable Windows distribution of OpenSlides is not possible
|
|
|
|
if Python is installed in 64-bit(!) version.
|
2014-03-07 00:17:25 +01:00
|
|
|
|