tis-waptdev 7

  • package : tis-waptdev
  • version : 7
  • description : plateforme dev pour wapt packages
  • maintainer : TIS <technique@tranquil-it-systems.fr>
  • date : 2017-07-20 11:24:40
  • signer : TRANQUIL IT SYSTEMS
  • signature_date : 20170720-112440
  • min_os_version :
  • min_wapt_version :
  • Depends :

setup.py

from setuphelpers import *
from iniparse import RawConfigParser

uninstallkey = []
uninstallstring = []

def install():
    conf = WAPT.config
    def setifundefined(option,value):
        if not conf.has_option('global',option):
            conf.set('global',option,value)

    #conf.set('global','allow_unsigned',1)
    #setifundefined('default_sources_root','c:\\tranquilit')
    #setifundefined('default_package_prefix','tis')
    #setifundefined('default_sources_suffix','wapt')
    #setifundefined('upload_cmd',r'"c:\Program Files"\putty\pscp -v -l root %(waptfile)s srvwapt:/var/www/wapt/')
    #setifundefined('after_upload',r'"c:\Program Files"\putty\plink -v -l root srvwapt "python /var/www/wapt/wapt-scanpackages.py /var/www/wapt/"')

    #conf.write(open(WAPT.config_filename,'w'))
    filecopyto('PyWin32.chm',makepath(WAPT.wapt_base_dir,'lib','site-packages'))

def session_setup():
    pass

def uninstall():
    pass




    

manifest

[["setup.py", "05524f87399c880d4572ead850ee972fe887ff50"], ["WAPT/certificate.crt", "0db563dc9077b268ca07ba834322d0fc5e21f8e5"], ["PyWin32.chm", "a5547d70e5c2120734a95efb1349c1dfaf718665"], ["WAPT/control", "7b92963af53e78f35738816b99af6a8c5e57bdb4"], ["WAPT/wapt.psproj", "d140401965341ede69880cd6342c5db7040324b2"]]