Assembla home | Assembla project page
 

Changeset 2729

Show
Ignore:
Timestamp:
08/05/09 07:58:16 (8 months ago)
Author:
shypike
Message:

Windows: Add OpenSSL dll-files from the archive instead of the runtime environment of the production system.
Closes #292 for trunk.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/main/package.py

    r2654 r2729  
    2727import re 
    2828import subprocess 
     29import shutil 
    2930try: 
    3031    import py2exe 
     
    328329 
    329330    #remove prototype and iphone interfaces 
    330     os.system("rm -rf interfaces/prototype>/dev/null")     
    331     os.system("rm -rf interfaces/iphone>/dev/null")     
     331    os.system("rm -rf interfaces/prototype>/dev/null") 
     332    os.system("rm -rf interfaces/iphone>/dev/null") 
    332333 
    333334    #build SABnzbd.py 
     
    421422 
    422423    DeleteFiles('*.ini') 
     424 
     425    # Copy the proper OpenSSL files into the dist folder 
     426    shutil.copy2('win/openssl/libeay32.dll', 'dist/lib') 
     427    shutil.copy2('win/openssl/ssleay32.dll', 'dist/lib') 
     428 
    423429    os.system('makensis.exe /v3 /DSAB_PRODUCT=%s /DSAB_FILE=%s NSIS_Installer.nsi' % \ 
    424430              (release, fileIns))