tis-pyzo icon

tis-pyzo

Paquet d’installation silencieuse pour tis-pyzo

4.16.0-0

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

package           : tis-pyzo
version           : 4.16.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      : c1137282-d92f-44fe-bedb-31b166d4ce7e
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         : PNIPXGg6AA/YiEQqEm5kb9jo4uGolr3AazQgbTI8f7OdKJ+AlnsJYW7OAe6boSF0dOfmlr+WFGtSy/k6Zw5rk687hdunPLx9zjyKREQ6Fbnnv+hVeriam4Q3QNYSK2CS77pIweCwfYJoLgDhvZcV6DkxGrsHn4FuyETxgWRceH24zuL8JHbRjl109q4PjyKQ3QT+IoCx5lQOgKqwKnNgoy0Dz9oJPfLAAiUuyHWMLkcWzUubMoJ+Uo3uTxpyZMSroEOIaCdyfhbyO78kJQ7yupq7W73sLfZ2O9D53brcBK+fdpyVorOCvAGv540LpzTWfiW6JTIy8N79fI1ODvrdrA==
signature_date    : 2024-07-09T11:00:33.384961
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 *


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())

69cd95c9021b0370911253d086585d962196353415550d1ad3820a89f526252d : setup.py
1f8f3131defcf9abebc32b46f82d4346671b575b25fb029e78ed7d974f5dcf45 : update_package.py
2944aa520ed3bad8527fa7151becee1b593fbaa4d5038d9b20a06b21624acbe3 : pyzo-4.16.0-win64.exe
b9ab953e90307c153f80c0250a31c3bdf5cda9a6e89a6e8a91c83ae44f09b7a0 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
8f5ee67abfbdfbe401a8350ea7191eda7fbd7d4a59754beffd7964107c6fc8b5 : luti.json
21fdbddcfb1505b099c86d07633163e9d3da17c4e0ff23e9acf7f6b9eada477c : WAPT/control