Howto build the Developer installer
- Install 7 Zip and NSIS
- Downlod the build folder
- Extract to a local folder
- Download all dependencies as per InstallationGuidelines/Windows/Developer/Manual
- Put the python-2.7.11.msi in the same folder as the .NSI-file is
- If including numpy, rename numpy-1.7.1-win32-superpack-python2.7.exe as numpy.exe
- Rename pywin32-218.win32-py2.7.exe as pywin.exe
- Use 7zip to extract all other library installers
- Copy the extracted files into the right folders:
- Contents of the PLATLIB or PURELIB folder into the site-packages/<LIBNAME>/ folder. (pyreadline into iPython folder)
- Scripts (IPython only) into the scripts/<LIBNAME>/
- Dlls (Shapely only) into dlls/<LIBNAME>/ (remove from site-packages)
- Copy the extracted files into the right folders:
- Copy web2py and eden to the working-copy directory. Folder structure should be: /working-copy/web2py/applications/eden.
- Include the .git files, otherwise web2py and eden can't be updated later.
- From web2py, remove httpserver.log
- From eden, remove databases/*, errors/*, sessions/*, uploads/*, models/000_config.py & models/0000_update_check.py
- or if using fresh web2py, remove the 'examples' & 'welcome' web2py applications and add a fresh 000_config.py
Now you are ready to compile the installer:
- Open NSIS and click on "Compile NSI scripts" -> File -> Load script..., Select the NSI file and wait until compilation is complete.
The installer should be in the same directory as the NSI file is, named Eden-Python-Installer-Dev.exe.
- this can then be uploaded to Trac server & placed in /var/www/downloads
Note: Numpy is compiled based on the processors SSE-Support, so it can't be extracted correctly. Pywin is also not extractable. Just copy the installers into the same folder as the .nsi file is. There is no easy way around that.
Last modified
8 years ago
Last modified on 09/08/16 09:04:03
Attachments (1)
- developer-installer-src.zip (4.0 MB ) - added by 11 years ago.
Note:
See TracWiki
for help on using the wiki.