tis-edupython icon

EduPython

Silent install package for EduPython

3.1-18
Utilities
Utilities

  • package: tis-edupython
  • name: EduPython
  • version: 3.1-18
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT,Kenan KILICARSLAN,Clément BAZIRET
  • editor: Vincent MAILLE partnership Amienspython
  • licence: proprietary_free,wapt_public
  • locale: all
  • target_os: windows
  • impacted_process: edupython
  • architecture: all
  • signature_date:
  • size: 464.77 Mo
  • homepage : https://edupython.tuxfamily.org/

package           : tis-edupython
version           : 3.1-18
architecture      : all
section           : base
priority          : optional
name              : EduPython
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Kenan KILICARSLAN,Clément BAZIRET
description       : EduPython is a free Python development environment with a quick start that simplifies Python programming for students and beginners.
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.3
sources           : https://edupython.tuxfamily.org/#téléchargement
installed_size    : 
impacted_process  : edupython
description_fr    : EduPython est un environnement de développement Python gratuit permettant une prise en main rapide, qui simplifier la programmation en Python pour les élèves et les débutants.
description_pl    : EduPython to darmowe środowisko programistyczne Python z szybkim startem, które upraszcza programowanie w języku Python dla studentów i początkujących
description_de    : EduPython ist eine kostenlose Python-Entwicklungsumgebung mit einem Schnellstart, der die Python-Programmierung für Schüler und Anfänger vereinfacht
description_es    : EduPython es un entorno de desarrollo Python gratuito con un inicio rápido que simplifica la programación en Python para estudiantes y principiantes
description_pt    : EduPython é um ambiente de desenvolvimento Python gratuito com um início rápido que simplifica a programação Python para estudantes e principiantes
description_it    : EduPython è un ambiente di sviluppo Python gratuito con avvio rapido che semplifica la programmazione Python per studenti e principianti
description_nl    : EduPython is een gratis Python ontwikkelomgeving met een snelle start die het programmeren in Python vereenvoudigt voor studenten en beginners
description_ru    : EduPython - это бесплатная среда разработки Python с быстрым стартом, которая упрощает программирование на Python для студентов и начинающих
audit_schedule    : 
editor            : Vincent MAILLE partnership Amienspython
keywords          : python,development,programmation,programming
licence           : proprietary_free,wapt_public
homepage          : https://edupython.tuxfamily.org/
package_uuid      : a7788fad-fa5f-4f42-80c9-706b98a9b733
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 6.1
max_os_version    : 
icon_sha256sum    : 2ceece4a56de7f142476c47ea0c8a150264502967c05ef8dffbc3a7818acf752
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : wu6FrHib4eOy2P4H6vFDRUPGho+b3JkxmzXTmKm3iFLOw2Ip4P19JCtAem6YG/eXENQtk/MIfWFC5etYLww+mteXWJl/i4o+BiAO1JFit0qVBtXeS5wyRDtQYbf6JcEx4ovCQsJM7R/wDUzcwHSiH5VTHhz40p9i1oGDuxB8L8G8u0UHLR52imZn4BgemlHVY7DbT4i0U4pM6y47JNi867farDDrZ8jTuHWytPfz6P/HKoA05VwrkayhYtj3QXFaB/3z+Ti415Ds6eyK8g+3LWDACRrvwuJhm550VUdLfnPa5EOORGmSVNAy9ZW3iYm0vx4I9c8Mcr4RLwE45urKlQ==
signature_date    : 2023-09-20T15:00:31.461132
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 *

"""
    List of setup parameters:
        https://jrsoftware.org/ishelp/index.php?topic=setupcmdline
    List of uninstall parameters:
        https://jrsoftware.org/ishelp/index.php?topic=uninstcmdline
"""

soft_dir = makepath(programfiles, "EduPython")


def install():
    bin_name = glob.glob("Setup_EP*.exe")[0]
    uninstallkeystring = "EduPython_%s_is1"
    package_version = control.version.split("-")[0]

    if isdir(soft_dir):
        remove_tree(soft_dir)
    mkdirs(soft_dir)

    # Installing software
    install_exe_if_needed(
        bin_name,
        silentflags=f'/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /DIR="{soft_dir}"',
        key="EduPython_%s_is1" % package_version,
        min_version=package_version,
        timeout=600,
    )


def uninstall():
    for soft in installed_softwares("EduPython"):
        run(soft["uninstall_string"] + " /VERYSILENT /SUPPRESSMSGBOXES /NORESTART")
    if isdir(soft_dir):
        remove_tree(soft_dir)

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


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    url = "https://edupython.tuxfamily.org/#téléchargement"

    # Getting latest version from official sources
    print("URL used is: %s" % url)
    for bs_search in bs_find_all(url, "a", proxies=proxies):
        if bs_search["href"].split("/")[-1].endswith(".exe"):
            download_url = bs_search["href"]
            latest_bin = download_url.split("/")[-1]
            version = bs_search.text.split(": ")[1]
            break

    # Downloading latest binaries
    print("Latest %s version is: %s" % (app_name, version))
    print("Download URL is: %s" % download_url)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)

    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        package_updated = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.set_software_version(version)
    control.save_control_to_wapt()

    # Deleting outdated binaries
    remove_outdated_binaries(version.replace(".", ""))

    # Validating or not update-package-sources
    return package_updated

f3461d407d4dbacece69c985f5f70e7e5c9c442af32f3aa16f83c5a3e274fd1d : setup.py
18e691b5a96e34b72ba286302477b4363f2aab1fd0506ce35b7863af0e309cce : update_package.py
2e557d440f501f61ef576564a14f4ba5dd3d4030462fb294393c09581279765e : Setup_EP31.exe
2ceece4a56de7f142476c47ea0c8a150264502967c05ef8dffbc3a7818acf752 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
623bf1258e5378c1c5a7eebc2756cd0484077f14bc8eebdc63eadb7bea918e52 : luti.json
eaa3db0e094f2d8a643689a0d18005ca3aec16afaccf9ad63f5b9e6b7eb463f2 : WAPT/control