tis-looping-portable

4.1.0.0-1
Looping (Patrick Bergougnoux - Eric Mathet) Modélisation Conceptuelle de Données
591 téléchargements
Télécharger
Voir le résultat de la construction Voir l'analyse de VirusTotal
tis-looping-portable icon
  • package : tis-looping-portable
  • name : looping
  • version : 4.1.0.0-1
  • categories :
  • maintainer : Amel FRADJ
  • editor :
  • licence : Logiciel gratuit et libre d'utilisation - Université Toulouse III
  • locale :
  • target_os : windows
  • impacted_process :
  • architecture : x86
  • signature_date : 2025-03-12 16:30
  • size : 14.21 Mo
  • homepage : https://www.looping-mcd.fr/
package           : tis-looping-portable
version           : 4.1.0.0-1
architecture      : x86
section           : base
priority          : optional
name              : looping
categories        : 
maintainer        : Amel FRADJ
description       : Looping (Patrick Bergougnoux - Eric Mathet) Conceptual Data Modeling
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Looping (Patrick Bergougnoux - Eric Mathet) Modélisation Conceptuelle de Données
description_pl    : Zapętlanie (Patrick Bergougnoux - Eric Mathet) Koncepcyjne modelowanie danych
description_de    : Looping (Patrick Bergougnoux - Eric Mathet) Konzeptuelle Datenmodellierung
description_es    : Looping (Patrick Bergougnoux - Eric Mathet) Modelización conceptual de datos
description_pt    : Looping (Patrick Bergougnoux - Eric Mathet) Modelação de dados conceptuais
description_it    : Looping (Patrick Bergougnoux - Eric Mathet) Modellazione concettuale dei dati
description_nl    : Looping (Patrick Bergougnoux - Eric Mathet) Conceptuele gegevensmodellering
description_ru    : Петли (Патрик Бергугну - Эрик Мате) Концептуальное моделирование данных
audit_schedule    : 
editor            : 
keywords          : 
licence           : Logiciel gratuit et libre d'utilisation - Université Toulouse III
homepage          : https://www.looping-mcd.fr/
package_uuid      : e36dc37e-cc6b-4552-9cb8-5ceca89d8973
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : d6a2f836da931b25940e2bf03513999aebd32bf976e8b187996926e06a572b4f
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-03-12T16:30:31.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         : D+pK8XNMp5viPlaNjLmYcRb2ZeyIYJe+6CCTj2rqahPUt5VDKQwPVEEL8pILrl5h0FkMWEh3F4AEmVOW9u/piE2Yb1fkFa0pRgsRvsAKTr7WRbHnWVwHjW0PF8RgM5UG8QCfPsclkmm4W5kwwFcp7zrr19YEb+beSKX+N7hrYCSUOkKVv3QjnxBf47nFaX6T8XTBRzAiHLNgHNQSEDQFODWXQE+kostz3gXaGI87Hzti6t9F0ESGXAJbuxbgHq1Sb0vm5w24z0xWppva+gQZ6kro7gqsdjaKMzzrFpJsS8/UzyTlqZVS9OpN4zLquF0n23sdNNnz9mvA//HTJXgahg==
# -*- coding: utf-8 -*-
from setuphelpers import *

"""


"""


app_name = "Looping "
editor_dir = makepath(programfiles, "Looping")
app_dir = makepath(editor_dir, "Looping")
app_path = makepath(app_dir, "Looping_32bits.exe")
#icon_path = makepath(app_dir, "resources", "app", "build", "crushee.ico")   #tis-crushee\windows\crushee\resources\resources\build
audit_version = False


def get_installed_version(app_path):
    return get_file_properties(app_path).get("FileVersion", "")


def install():
    # Declaring local variables
    zip_name = glob.glob(f"Looping.zip")[0]

    unzipped_dir = "Looping"


    # Installing software
    killalltasks(ensure_list(control.impacted_process))
    if isdir(app_dir) and force:
        remove_tree(app_dir)
    mkdirs(app_dir)
    print("Extracting: %s to: %s" % (zip_name, unzipped_dir))
    unzip(zip_name, unzipped_dir)
    print('Copy Looping to %s' % app_dir)
    copytree2(unzipped_dir, app_dir, onreplace=default_overwrite)

    # Creating custom shortcuts
    create_desktop_shortcut(app_name, target=app_path)
    create_programs_menu_shortcut(app_name, target=app_path)


def audit():
    # Auditing software
    audit_status = "OK"
    installed_version = get_installed_version(app_path)
    if Version(installed_version) < Version(control.get_software_version()) and audit_version:
        print("%s is installed in version (%s) instead of (%s)" % (app_name, installed_version, control.get_software_version()))
        audit_status = "WARNING"
    elif isdir(app_dir) and not dir_is_empty(app_dir):
        print("%s (%s) is installed" % (app_name, installed_version))
        audit_status = "OK"
    else:
        print("%s is not installed" % app_name)
        audit_status = "ERROR"
    return audit_status


def uninstall():
    # Uninstalling software
    killalltasks(ensure_list(control.impacted_process))
    if isdir(app_dir):
        remove_tree(app_dir)
    if dir_is_empty(editor_dir):
        remove_tree(editor_dir)

    # Removing shortcuts
    remove_desktop_shortcut(app_name)
    remove_programs_menu_shortcut(app_name)

# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import glob
import zipfile



def update_package():
    # Declaring local variables
    package_updated = False
    
    proxies = get_proxies_from_wapt_console()
    if not proxies:
        proxies = get_proxies()

  
    url_base = "https://www.looping-mcd.fr/"
    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","class","panel", 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]
                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)


    # Deleting outdated binaries
    for f in glob.glob('*.zip'):
        if f != latest_bin:
            remove_file(f)

    # Extracting the downloaded zip file
    with zipfile.ZipFile(latest_bin, 'r') as zip_ref:
        zip_ref.extractall()

    # Determine system architecture
    arch = control.architecture
    if arch == '64bit':
        exe_file = "looping.exe"
    else:
        exe_file = "looping_32bits.exe"

    if not isfile(exe_file):
        raise Exception("Executable not found: %s" % exe_file)        
    version = get_version_from_binary(exe_file)
    # Mettre à jour le package
    control.set_software_version(version)
    control.save_control_to_wapt()    
        

3ba421572967b02b7fa7962ada6e85fc96cc6b68f697bf4bb6e5db61dabe3631 : Looping.exe
027834def4c01798de9dea0c328defe6dc1c0317e13b0bc796e495ab8e68c404 : Looping.zip
9d12bfe357a866f41ef2f6e993a39d990e4732dcad3fac83d12cae2250420f30 : Looping_32bits.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
b69edaa7517b81a3881c5e8c493210103a16dd38c8434e8a18b55afb00f54091 : WAPT/control
d6a2f836da931b25940e2bf03513999aebd32bf976e8b187996926e06a572b4f : WAPT/icon.png
4afae6260ccf9b6ac979d6cbb8aa16d77f37210b449f0ae782781f0bdbaaf699 : luti.json
42c5d335f7b9648b5300e5186576cb056bbd1f921da52dc97e8a973a39f5e513 : setup.py
63840b74655c9638061f88f3ca8ce598138d6b5cfa73b679974473b1795dd684 : update_package.py