tis-pyzo icon

tis-pyzo

Paquet d’installation silencieuse pour tis-pyzo

4.19.0-0

  • package: tis-pyzo
  • version: 4.19.0-0
  • maintainer: Simon Fonteneau
  • locale: all
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 36.24 Mo

package           : tis-pyzo
version           : 4.19.0-0
architecture      : x64
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            : all
target_os         : windows
min_wapt_version  : 2.0
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      : ddca7128-0bdb-4c87-a3cd-25afff335a9e
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 6.0
max_os_version    : 
icon_sha256sum    : b9ab953e90307c153f80c0250a31c3bdf5cda9a6e89a6e8a91c83ae44f09b7a0
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-01-22T10:29:56.000000
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
signature         : V3eGor+ZH+xvDEhkUaK2g+70aDW0DlXoAoa7ETc5MmgMECs9AOdj5zxBnqowBua/xMa9gOqBpAvMjOmlCJ6myssnvOQF61/nxZLxuXJfCyMAbvM/zMu2xPFAu+Sev9QPkxJ7AcO6lEhgfLORwDqwepNPgl1ExTF1rCzmKh3JmY2ruoqq6dV0NoH9c80qSWtU0kW0HCn52bhn8j/US/gN2vGIZd/3j2IwsNJU3T4xRAXtiEGX/3uWoxpDda88XrnP6VFXDJMKh1kKPzhmuqeH+FnmfvmO3NzwVPK3UX3ySh/ypYpZYBIKpCrLUD818e9rKym+jpsve695Q7u+SgyUwA==

# -*- coding: utf-8 -*-
from setuphelpers import *


def install():
    print("installing pyzo")

    def verspyzo(key):
        return key["name"].replace("pyzo version ", "")

    install_exe_if_needed(
        glob.glob("*.exe")[0],
        "/VERYSILENT /SUPPRESSMSGBOXES /NORESTART",
        key="pyzo_is1",
        min_version=control.get_software_version(),
        get_version=verspyzo,
    )
    remove_desktop_shortcut("pyzo")

# -*- coding: utf-8 -*-
from setuphelpers import *
import json


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}

    binaryfile, urlfile = [
        (str(p["name"]), str(p["browser_download_url"]))
        for p in json.loads(wgets("https://api.github.com/repos/pyzo/pyzo/releases/latest", proxies=proxies))["assets"]
        if "exe" in p["name"]
        if not "windows10" in p["name"]
    ][0]
    lastversion = binaryfile.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())

    print("Last Version %s" % lastversion)
    pe.version = lastversion + "-0"
    pe.save_control_to_wapt(os.getcwd())

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
692a653db2965dfafc16190f0592304dd232be17feb4d24032b32a7e63f481e9 : WAPT/control
b9ab953e90307c153f80c0250a31c3bdf5cda9a6e89a6e8a91c83ae44f09b7a0 : WAPT/icon.png
3185e9f9310092e2d6330c0f9e360f5ee93ac8822113e5d154a489c1fa486b42 : luti.json
d156c376ea580e05aae9502420d3481c1b7b93bd4194a90e91c471424913bb19 : pyzo-4.19.0-win64.exe
69cd95c9021b0370911253d086585d962196353415550d1ad3820a89f526252d : setup.py
1f8f3131defcf9abebc32b46f82d4346671b575b25fb029e78ed7d974f5dcf45 : update_package.py