tis-atelier-scientifique-eleve-physique-chimie
8.1.7-1
Ce logiciel permet d'installer la version élève de l'Atelier Scientifique pour la Physique-Chimie (Généris Plus)
228 téléchargements
Télécharger
Voir le résultat de la construction Voir l'analyse de VirusTotal

- package : tis-atelier-scientifique-eleve-physique-chimie
- name : Atelier Scientifique Eleve Physique Chimie
- version : 8.1.7-1
- categories : Education
- maintainer : WAPT Team,Tranquil IT,Amel FRADJ,
- editor :
- licence : proprietary_free,wapt_private
- locale :
- target_os : windows
- impacted_process :
- architecture : all
- signature_date : 2024-09-11 11:43
- size : 47.33 Mo
package : tis-atelier-scientifique-eleve-physique-chimie
version : 8.1.7-1
architecture : all
section : base
priority : optional
name : Atelier Scientifique Eleve Physique Chimie
categories : Education
maintainer : WAPT Team,Tranquil IT,Amel FRADJ,
description : This software installs the student version of Atelier Scientifique pour la Physique-Chimie (Généris Plus)
depends :
conflicts :
maturity : PROD
locale :
target_os : windows
min_wapt_version : 2.3
sources :
installed_size :
impacted_process :
description_fr : Ce logiciel permet d'installer la version élève de l'Atelier Scientifique pour la Physique-Chimie (Généris Plus)
description_pl : To oprogramowanie umożliwia zainstalowanie studenckiej wersji Atelier Scientifique pour la Physique-Chimie (Généris Plus)
description_de : Mit dieser Software können Sie die Schülerversion der Wissenschaftswerkstatt für Physik und Chemie (Généris Plus) installieren
description_es : Este programa permite instalar la versión para estudiantes del Atelier Scientifique pour la Physique-Chimie (Généris Plus)
description_pt : Este software permite-lhe instalar a versão para estudantes do Atelier Scientifique pour la Physique-Chimie (Généris Plus)
description_it : Questo software consente di installare la versione per studenti di Atelier Scientifique pour la Physique-Chimie (Généris Plus)
description_nl : Met deze software kun je de studentenversie van Atelier Scientifique pour la Physique-Chimie (Généris Plus) installeren
description_ru : Это программное обеспечение позволяет установить студенческую версию Atelier Scientifique pour la Physique-Chimie (Généris Plus)
audit_schedule :
editor :
keywords :
licence : proprietary_free,wapt_private
homepage :
package_uuid : 11dabf7c-30c1-489f-9860-dace316d6c10
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : dc46e83040a5f1ae4e8f7f846b012b1590847e532f84b08f1149e1863dc63ef5
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2024-09-11T11:43:28.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 : yhfboDbMm3Z06wF2MObMgMsh5d5ujTBZ73XAlpb0rkObZA2ff0aJIHxxwbHHtN86+ytI6HLDwwpTevn6N5D7qFVP+M+05fZ97Ikld/mhWIzwEDwBB3xDLaBXkVnmP4z2z9zkqMyP4gq2gpWy0Yok6oZT65xB9Yh9LQUnRjQWgQ2Jp87PK9II7cVZhpKtDD1ca6/Kz+XTHRbBRhiuImcHXzAqq7SBLqpYjYiESkPSypWfl5bRL1gp7tASBDn572XBw8PfHht9Lq4E5V+mINETAZ/rKp12U0sUf35ukG0vJIuhQsKfqheTDVHBbdlrjV6NZpD28QmKbe/7cVwj1yCndA==
# -*- coding: utf-8 -*-
from setuphelpers import *
r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
def install():
# Declaring local variables
bin_name = glob.glob("AtelierScientifiqueElevePhy_FR_*.msi")[0]
# Uninstalling older versions of the software
for to_uninstall in installed_softwares(name="Atelier Scientifique Eleve Physique Chimie"):
if Version(to_uninstall["version"]) < Version(control.get_software_version()):
print("Removing: %s (%s)" % (to_uninstall["name"], to_uninstall["version"]))
killalltasks(ensure_list(control.impacted_process))
run(uninstall_cmd(to_uninstall["key"]))
wait_uninstallkey_absent(to_uninstall["key"])
if isdir(to_uninstall["install_location"]):
remove_tree(to_uninstall["install_location"])
# Installing the software
install_msi_if_needed(bin_name)
# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import glob
import zipfile
import re
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies_from_wapt_console()
if not proxies:
proxies = get_proxies()
url_base = "https://jeulin.com/jeulin_fr/ress-127297.html"
response = requests.get(url_base,allow_redirects=True, proxies=proxies)
# Extract the correct div using bs_find_all
divs = bs_find_all(response.text, "div", proxies=proxies)
zip_file = None
for div in divs:
if zip_file:
break
links = div.find_all('a', href=True)
for link in links:
if link['href'].endswith('.zip'):
href = link['href']
zip_file = href
download_url = zip_file
latest_bin = zip_file.split('/')[-1]
# Utiliser une expression régulière pour extraire la version
match = re.search(r'v(\d+)_(\d+)_(\d+)', latest_bin)
if match:
version = f"{match.group(1)}.{match.group(2)}.{match.group(3)}"
print("Version:", version)
else:
print("Version non trouvée")
break
# Downloading latest binaries
print("Download URL is: %s" % download_url)
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(download_url, latest_bin, proxies=proxies)
package_updated = True
else:
print("Binary is present: %s" % latest_bin)
# Extracting the .exe file from the .zip archive
with zipfile.ZipFile(latest_bin, "r") as zip_ref:
zip_ref.extractall()
msi_file = None
for file in zip_ref.namelist():
if file.endswith(".msi"):
msi_file = file
print(f"Extracted {msi_file}")
break
version = get_version_from_binary(msi_file)
# Mettre à jour le package
control.set_software_version(version)
control.save_control_to_wapt()
7a5ca808b3a9ba6b34ac0a730b5fa1c065fd51b801d6ac5e90b85e16a06718e3 : AtelierScientifiqueElevePhy_FR_8_1_7.msi
011ac3f7ae3e47c11b123e4ce54d5e1cb663623a0fc2aa77da580bcea38c3cfa : Ressource_Jeulin_Atelier_scientifique_Eleve_PC_FR_v8_1_7_ff3c.zip
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
829e922df265a04e343a1acee47907e0291915db2d8ec7669513fd696c46d854 : WAPT/control
dc46e83040a5f1ae4e8f7f846b012b1590847e532f84b08f1149e1863dc63ef5 : WAPT/icon.png
: __pycache__
f3cf4dbdc243a057bb8ca00579799ba6c44531dbe42b3197b2767d421ecb83f8 : luti.json
0a4744b363dc2381609014d35cae250b819839ba3e9157e624ff8e69fa730f53 : setup.py
cbcdd0c825fe44ea951c9bad9690c296a78da68f445e2d4f31f6ddae6d806450 : update_package.py