
tis-pyzo
Paquet d’installation silencieuse pour tis-pyzo
4.6.2-0
- package: tis-pyzo
- version: 4.6.2-0
- maintainer: Simon Fonteneau
- target_os: windows
- architecture: all
- signature_date:
- size: 11.46 Mo
package : tis-pyzo
version : 4.6.2-0
architecture : all
section : base
priority : optional
name :
categories :
maintainer : Simon Fonteneau
description : Pyzo est une distribution qui simplifie l’utilisation de Python. Elle est particulièrement adaptée à l’apprentissage et recommandée pour les débutants.
depends :
conflicts :
maturity : PROD
locale :
target_os : windows
min_wapt_version :
sources :
installed_size :
impacted_process :
description_fr :
description_pl :
description_de :
description_es :
description_pt :
description_it :
description_nl :
description_ru :
audit_schedule :
editor :
keywords :
licence :
homepage :
package_uuid : deb14f54-0d83-417e-871a-2ed8663ebab1
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : b9ab953e90307c153f80c0250a31c3bdf5cda9a6e89a6e8a91c83ae44f09b7a0
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : A4iectCOz+oZixfSTSFVXkm325mawQWWzTu2e4YQL9O7F8F43t44xALT3wRkZHO7sae3Q1zXZtDMYuqYFDkITqERY7Us/orNhbR/UKIvzqZeO32zkzR32zWsJcucolAAOJ2Mg6HqEQtp2/RFbtmEYs385wHRdck5V6UoEComX4VA+yNg17ivLgDKx/F872a3myzHyR0uSJPmbdXu+8qmhfiv7ICqHIykAmV5oLrS6VA1KwsHcir6pzqreOX9ZVPmaJccryosrcNw/9HBxLBWaeqE3sViqxih6U+nkZEyukPyk/3CasZj6kPo7W+89MkoXZ8HcBv9FEVJV25arZhetA==
signature_date : 2021-12-20T13:30:23.783750
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
# -*- coding: utf-8 -*-
from setuphelpers import *
import json
uninstallkey = []
def install():
print('installing smp-pyzo')
versionpaquet = control['version'].split('-',1)[0]
def verspyzo(key):
return key['name'].replace('pyzo version ','')
install_exe_if_needed("pyzo-%s-win32.exe" % versionpaquet,'/VERYSILENT /SUPPRESSMSGBOXES /NORESTART',key='pyzo_is1',min_version=versionpaquet,get_version=verspyzo)
remove_desktop_shortcut('pyzo')
def update_package():
proxies = {}
if isfile(makepath(application_data(),'waptconsole','waptconsole.ini')):
proxywapt = inifile_readstring(makepath(user_local_appdata(),'waptconsole','waptconsole.ini'),'global','http_proxy')
if proxywapt :
proxies = {'http':proxywapt,'https':proxywapt}
urlfile = None
for i in json.loads(wgets('https://api.github.com/repos/pyzo/pyzo/releases',proxies=proxies)):
for a in i['assets'] :
if 'win32.exe' in a['name']:
if not urlfile:
urlfile = a['browser_download_url']
binaryfile = urlfile.split('/')[-1]
for exe in glob.glob('*.exe'):
if exe != binaryfile:
remove_file(exe)
if not isfile(binaryfile):
wget(urlfile,binaryfile,proxies=proxies)
os.chdir(os.path.dirname(__file__))
from waptpackage import PackageEntry
pe = PackageEntry()
pe.load_control_from_wapt(os.getcwd())
lastversion = binaryfile.split('-')[1]
print('Last Version %s' % lastversion)
pe.version = lastversion + '-0'
pe.save_control_to_wapt(os.getcwd())
if __name__ == '__main__':
update_package()
5f1b7568e8b5656a4898f47dbe942b5bdaed808cdddbf147a6a77c19ec6c7871 : setup.py
4b493e7ccdc13099222b1bfa24901e86e8060cfb39378820895a7f0f5bf6f689 : WAPT/wapt.psproj
b9ab953e90307c153f80c0250a31c3bdf5cda9a6e89a6e8a91c83ae44f09b7a0 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
5f537584af763b153fe8677f1d1307416f3ebaaf85a9fcc9c7bd97c5d386cb87 : luti.json
5f7a7cdb7d6dbe671af794361cd49455bab89d25dd1cb1daebfe43a1361e7997 : pyzo-4.6.2-win32.exe
c11315c271c8acee82292de7da848ef02ea72b6f2615ea6a66434b954d85107d : WAPT/control