tis-pymecavideo icon

PyMecavideo

Silent install package for PyMecavideo

7.2.3.0-1
Media
Media

Preprod packages are packages built on LUTI. They remain in PREPROD usually for 5 days, after which a second VirusTotal scan is performed to verify that the status has not changed.
If the package passes this last check, it is promoted to PROD and published on the store.

  • package: tis-pymecavideo
  • name: PyMecavideo
  • version: 7.2.3.0-1
  • categories: Media
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ,Simon Fonteneau,Kevin CHEREL
  • locale: all
  • target_os: windows
  • impacted_process: pymecavideo
  • architecture: x64
  • signature_date:
  • size: 114.63 Mo

package           : tis-pymecavideo
version           : 7.2.3.0-1
architecture      : x64
section           : base
priority          : optional
name              : PyMecavideo
categories        : Media
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ,Simon Fonteneau,Kevin CHEREL
description       : Pymecavidéo est un logiciel de pointage de vidéo permettant l'analyse mécanique des mouvements.
depends           : 
conflicts         : 
maturity          : PREPROD
locale            : all
target_os         : windows
min_wapt_version  : 2.0
sources           : https://download.tuxfamily.org/oppl/windows/
installed_size    : 
impacted_process  : pymecavideo
description_fr    : 
description_pl    : 
description_de    : 
description_es    : 
description_pt    : 
description_it    : 
description_nl    : 
description_ru    : 
audit_schedule    : 
editor            : 
keywords          : 
licence           : 
homepage          : 
package_uuid      : 211aab85-9738-4d6f-8927-79e2ba42edbe
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : ca6afc629a51b361e7f444643efe8354d4542dc55c290a515edd7d58bfe47ce9
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2026-01-05T11:27:09.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         : Hur+HdCC/z6KeTPK9ZGd5MpWbOKWLuHO7CgSddhDezkVvpU9aMJ9+K9ES/fGdf5IqR7rXnfSwJggPczSKa4WoShFpKM3x1JYAsSQsgikPgJbhIo+8ikR+9iyn1SqQJjHonZobiULLCcVXfR6rhMtxPDAE2UPDaXLZx+sY760xrYcduMknirrkzL5Cjs4D/9S+H+GAMdA4JuRoi7J43s/KZpGS4qVxIVcJq/xPP+lV+NFKBN7VFJXM3GzlfebTs0O7FwIYNarxXb8HULS7iiDcpz+Ny2YKh2BpJUlNTjT6imGfWah2Pg1GFCtyJh46GBb/4NX+hzFhoqIwAqCSw9u6Q==

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

# 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("*pymecavideo_*.exe")[0]
    used_version = get_product_props(bin_name)["ProductVersion"]

    # Installing the software
    print("Installing: %s" % bin_name)
    install_exe_if_needed(
        bin_name,
        silentflags="/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-",
        key="pymecavideo %s_is1" % used_version,
        min_version=used_version,
    )

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

# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
bin_contains = "pymecavideo_"

# Code temporaire avant mise à disposition sur github
def update_package():
    # Declaring local variables

    latest_bin = "pymecavideo_7.2.3.0_setup.exe"
    download_url = "http://srvtemplates.ad.tranquil.it/binary_cache/" + latest_bin
    sha256 = "E17B21A80C6DAEE80F266F96852687A4B95761A07040715460971D2FA4F212DC"
    wget(download_url, latest_bin, sha256=sha256)
# Code temporaire avant mise à disposition sur github

"""
    result = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name

    sub_bin_name = "pymecavideo_%s_setup.exe"
    url = "http://download.tuxfamily.org/oppl/windows/"

    # Getting latest version information from official sources
    version = re.findall('pymecavideo_(.*)_setup.exe"', ensure_unicode(wgets(url, proxies=proxies)))[-1]
    latest_bin = sub_bin_name % version
    download_url = url + latest_bin

    print("Latest %s version is: %s" % (app_name, version))
    print("Download URL is: %s" % download_url)

    # Downloading latest binaries
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)

        # Checking version from file
        version_from_file = get_product_props(latest_bin)["FileVersion"]
        if Version(version) != Version(version_from_file) and version_from_file != "":
            print("Changing version to the version number of the binary (from: %s to: %s)" % (version, version_from_file))
            os.rename(latest_bin, sub_bin_name % version_from_file)
            version = version_from_file
        else:
            print("Binary file version correspond to online version")

    # 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)))
        result = True
    control.version = "%s-%s" % (Version(version), control.version.split("-", 1)[-1])
    # control.set_software_version(version)
    control.save_control_to_wapt()

    # Deleting outdated binaries
    remove_outdated_binaries(version)

    # Validating update-package-sources
    return result
"""

01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
1a6e7d961e3a2604ee614fd16a6f1dcc1fd0b3cdb718ec93fd8bb503d9701b67 : WAPT/control
ca6afc629a51b361e7f444643efe8354d4542dc55c290a515edd7d58bfe47ce9 : WAPT/icon.png
980a4cc45cad47a1494d4a83491d954615cbd767edc32ba7d369c8e4024c831b : luti.json
e17b21a80c6daee80f266f96852687a4b95761a07040715460971d2fa4f212dc : pymecavideo_7.2.3.0_setup.exe
bcc8d47ff5672d6b50fbc3e5651ff6c5ab76c7009baa61c3664d2c17eccf284b : setup.py
1efe24a004ab4a63e9a2e394d53b29febecca5c1cf8ed4c9247d7103f6b55935 : update_package.py