- package: tis-winedt
- name: WinEdt
- version: 11.2-1
- categories: Utilities
- maintainer: WAPT Team,Tranquil IT,Amel FRADJ,
- licence: opensource_free,wapt_private
- target_os: windows
- architecture: x64
- signature_date:
- size: 16.59 Mo
package : tis-winedt
version : 11.2-1
architecture : x64
section : base
priority : optional
name : WinEdt
categories : Utilities
maintainer : WAPT Team,Tranquil IT,Amel FRADJ,
description : WinEdt is a powerful and versatile text editor for Windows, with a strong predisposition for creating [La]TeX documents. But don't confuse WinEdt with a TeX system!
depends :
conflicts :
maturity : PROD
locale :
target_os : windows
min_wapt_version : 2.3
sources :
installed_size :
impacted_process :
description_fr : WinEdt est un éditeur de texte puissant et polyvalent pour Windows, avec une forte prédisposition à la création de documents [La]TeX. Ne confondez cependant pas WinEdt avec un système TeX !
description_pl : WinEdt to potężny i wszechstronny edytor tekstu dla systemu Windows, z silnym naciskiem na tworzenie dokumentów [La]TeX. Nie należy jednak mylić WinEdt z systemem TeX!
description_de : WinEdt ist ein leistungsstarker und vielseitiger Texteditor für Windows mit einer starken Prädisposition für die Erstellung von [La]TeX-Dokumenten. Verwechseln Sie WinEdt jedoch nicht mit einem TeX-System!
description_es : WinEdt es un potente y versátil editor de texto para Windows, con un fuerte enfoque en la creación de documentos [La]TeX. ¡Pero no confunda WinEdt con un sistema TeX!
description_pt : O WinEdt é um editor de texto poderoso e versátil para Windows, com uma forte ênfase na criação de documentos [La]TeX. Mas não confunda WinEdt com um sistema TeX!
description_it : WinEdt è un editor di testo potente e versatile per Windows, con una forte attenzione alla creazione di documenti [La]TeX. Ma non confondete WinEdt con un sistema TeX!
description_nl : WinEdt is een krachtige en veelzijdige teksteditor voor Windows, met een sterke focus op het maken van [La]TeX-documenten. Maar verwar WinEdt niet met een TeX systeem!
description_ru : WinEdt - это мощный и универсальный текстовый редактор для Windows, ориентированный на создание документов [La]TeX. Но не путайте WinEdt с системой TeX!
audit_schedule :
editor :
keywords :
licence : opensource_free,wapt_private
homepage :
package_uuid : fd6fdc98-3fe3-46df-9cb1-f0f8cda07189
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : 29f6886c41713e0953861bbb017825cf6423109ec3042919cf7060f06e840dbd
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : HnLciRuZD++ma3+65/hGi2GbCOV1hWaf6B4blNQKOd3sy0PtANVDkbb9ovdkHD1YJBbw6A+FqwgSAouTX5ybmfghzWaav3CdWzqIpZzcvEgymZ4EFEpJhjuZongtHPp+A5Sc+JmPlNU3VR2d4ft7kiAOaGZJEv/Q3srr8OOC1j+iKPUDYRLBpNtmPzCbdw0p/EPhJfIYagvnNEujoXs+fGxs8LJVIUhqgR/tSjLUQd2RmIyeDjvm5w+4uQ0u42rI4NtexfALA2fhzDncfAXgMu5mZQTKiSlrd1Lzx8QuCUcEIkdR4D/ddk208szDwBnmasmbx/pr4QIekRHp5eAnPQ==
signature_date : 2024-09-02T16:25:20.608848
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 *
r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
{
"key":"WinEdt 11",
"name":"WinEdt 11",
"version":"11.2",
"install_date":"",
"install_location":"C:\\Program Files\\WinEdt Team\\WinEdt 11",
"uninstall_string":"C:\\Program Files\\WinEdt Team\\WinEdt 11\\Uninstall.exe",
"publisher":"WinEdt Team",
"system_component":0,
"win64":true
}
"""
# 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("winedt*.exe")[0]
version = control.get_software_version()
# Extracting the major version
major_version = version.split('.')[0]
# Constructing the dynamic key
key = f"WinEdt {major_version}"
install_exe_if_needed(bin_name, silentflags="/S", key=key, min_version=control.get_software_version(),)
# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import glob
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.winedt.com/download.html#WinEdt_Dictionaries"
response = requests.get(url_base,allow_redirects=True, proxies=proxies)
# Extract the correct div using bs_find_all
divs = bs_find_all(response.text, "ul", proxies=proxies)
exe_file = None
for div in divs:
if exe_file:
break
links = div.find_all('a', href=True)
for link in links:
if link['href'].endswith('.exe'):
href = link['href']
exe_file = href
download_url = "https://www.winedt.com/" + exe_file
latest_bin = exe_file.split('/')[-1]
version = latest_bin.replace(".exe","").replace("winedt","")
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('*.exe'):
if f != latest_bin:
remove_file(f)
version = get_version_from_binary(latest_bin).split(" ")[0]
# Mettre à jour le package
control.set_software_version(version)
control.save_control_to_wapt()
16670215248b92852e1e8fb7038adc47c8da7743a5dbe8a9e21badfcb2ee12fa : setup.py
02dd33de0fd167817bd06f85dbea566bdcb25ed98a85058cd4d181ccbb9bc93e : winedt11.exe
97e316dc9af50c1017860aaf1baec12420d941c5adb4cdf44d7d06e0a7685657 : update_package.py
29f6886c41713e0953861bbb017825cf6423109ec3042919cf7060f06e840dbd : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
7004bd2911fff2d1b535d3f494b744af40e8e07192f91075dc1f3224f6a1a6d0 : luti.json
dcf8fcb0c22bc0f5247f4fb79a84d565b9de45c3b1257a57150643209172dbe3 : WAPT/control