wiki:InstallationGuidelines/Windows/Developer/Installer/Maintenance

Version 7 (modified by Fran Boon, 11 years ago) ( diff )

--

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.5.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.
      • Scripts (IPython only) into the scripts/<LIBNAME>/
      • Dlls (Shapely only) into dlls/<LIBNAME>/
  • 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

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.

Attachments (1)

Note: See TracWiki for help on using the wiki.