Changes between Version 3 and Version 4 of InstallationGuidelines/Windows/Developer/Installer/Maintenance


Ignore:
Timestamp:
01/19/12 17:19:17 (10 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallationGuidelines/Windows/Developer/Installer/Maintenance

    v3 v4  
    66
    77=== Instructions ===
    8 Install 7 Zip and NSIS
    9 Extract the folder attached to this wikipage
    10 Download all dependencies/libs (Take a look into the Eden-python-Installer-Dev.nsi around line 157, they are listed there)
    11 
    12  * Put the python-2.7.2.msi in the same folder as the .NSI-file is
    13  * Use 7zip to extract all libary installers except numpy and pywin.
    14  * Copy the extracted files into the right folders:
    15     * Content of the PLATLIB folder into the site-packages/<LIBNAME>/ folder.
    16     * Scripts into the scripts/<LIBNAME>/
    17     * Dlls into dlls/<LIBNAME>/
    18 
    19 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. Name them numpy.exe and pywin.exe. They will show up during the installation process later, but there is no easy way around that.
    20 
    21 The next step is to prepare Web2Py and Eden.
    22 Just copy web2py (with eden in it's "applications" folder) into the working-copy directory. Folder structure should be like that: /working-copy/web2py/<FILESHERE>. Make sure that you include the .git files, otherwise web2py and eden can't be updated later.
     8 * Install 7 Zip and NSIS
     9 * Downlod the [http://eden.sahanafoundation.org/raw-attachment/wiki/InstallationGuidelines/Windows/Developer/Installer/Maintenance/developer-installer-src.zip build folder]
     10 * Extract to a local folder
     11 * Download all dependencies as per InstallationGuidelines/Windows/Developer/Manual
     12  * Put the python-2.7.2.msi in the same folder as the .NSI-file is
     13  * Rename numpy-1.6.1-win32-superpack-python2.7.exe as numpy.exe
     14  * Rename pywin32-216.win32-py2.7.exe as pywin.exe
     15 * Use 7zip to extract all other library installers
     16  * Copy the extracted files into the right folders:
     17   * Contents of the PLATLIB folder into the site-packages/<LIBNAME>/ folder.
     18   * Scripts (IPython only) into the scripts/<LIBNAME>/
     19   * Dlls (Shapely only) into dlls/<LIBNAME>/
     20 * Copy web2py and eden to the working-copy directory. Folder structure should be: /working-copy/web2py/applications/eden.
     21  * Include the .git files, otherwise web2py and eden can't be updated later.
     22  * From web2py, remove httpserver.log
     23  * From eden, remove databases/*, errors/*, sessions/*, uploads/* & models/000_config.py
    2324
    2425Now you are ready to compile the installer:
    25 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.
     26Open NSIS and click on "Compile NSI scripts" -> File -> Load script..., Select the NSI file and wait until compilation is complete.
     27
     28The installer should be in the same directory as the NSI file is, named Eden-Python-Installer-Dev.exe.
     29* this can then be uploaded to Trac server & placed in /var/www/downloads
     30
     31Note: 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.