- package: tis-julia
- name: julia
- version: 1.10.0-4
- categories: Utilities
- maintainer: WAPT Team,Tranquil IT,Pierre Cosson,Jimmy PELÉ
- licence: opensource_free,cpe:/a:mit:x11_license,wapt_public
- locale: all
- target_os: windows
- impacted_process: julia
- architecture: x86
- signature_date:
- size: 91.40 Mo
- installed_size: 702.73 Mo
- homepage : https://julialang.org/
package : tis-julia
version : 1.10.0-4
architecture : x86
section : base
priority : optional
name : julia
categories : Utilities
maintainer : WAPT Team,Tranquil IT,Pierre Cosson,Jimmy PELÉ
description : Julia is a high-level, high-performance dynamic language for technical computing
depends :
conflicts :
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 2.3
sources : https://julialang.org/downloads/
installed_size : 702726003
impacted_process : julia
description_fr : Julia est un langage dynamique de haut niveau et de haute performance pour l'informatique technique
description_pl : Julia to wysokopoziomowy i wydajny dynamiczny język do obliczeń technicznych
description_de : Julia ist eine dynamische Hochsprache für technische Berechnungen mit hoher Leistung
description_es : Julia es un lenguaje dinámico de alto nivel y rendimiento para la informática técnica
description_pt : Julia é uma linguagem dinâmica de alto nível e elevado desempenho para computação técnica
description_it : Julia è un linguaggio dinamico di alto livello e ad alte prestazioni per il calcolo tecnico
description_nl : Julia is een dynamische taal op hoog niveau voor technisch computerwerk
description_ru : Julia - это высокоуровневый, высокопроизводительный динамический язык для технических вычислений
audit_schedule :
editor :
keywords :
licence : opensource_free,cpe:/a:mit:x11_license,wapt_public
homepage : https://julialang.org/
package_uuid : 58586ea5-253b-47ef-869b-008c870ce830
valid_from :
valid_until :
forced_install_on :
changelog : https://github.com/JuliaLang/julia/releases
min_os_version :
max_os_version :
icon_sha256sum : 19f3c2d374cc23797dfdaa2706b1ea4648283220a2f04630ca3396f36d6ea05f
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : C5JaqwoJPbrYXiMFRtP7BqEq7LOChLVlGqf9zIycQJjYiQtpVxePDX+B7vLY110b9n6olj7mOc3sxOrIH6bitdIIiK72sJR83WIqjAITHCqLUGWlTkeMKF9HU0WgFt4kLYjUflU8AQgGYSuUa5FfxWZrZM7DbOQozm5Jf5eUlEL+cX1FmlrAZCRKMi8C4bSmXby9UPy2JHqrgqV0SrCt3shFeJtIi2Lzsf8hZAyNjx9GFS4Mt/tyzQzMWk8Xqo+YwT6bOePl/FduhKFnt7MKGTxbQ7TXtqg3OrmIdt8+tgo+uII1XtNuxmXLsbjPSYJ7NVjkhMlqAILz22f7kmFiow==
signature_date : 2024-01-20T11:04:02.727563
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 *
app_name = "Julia"
app_dir = makepath(programfiles, app_name)
app_sys_path = makepath(app_dir, "bin")
app_path = makepath(app_sys_path, "julia.exe")
silentflags = f'/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /ALLUSERS /DIR="{app_dir}"'
desktop_icon_path = makepath(desktop(True), "Julia.lnk")
program_menu_icon_path = makepath(programs(True), "Julia.lnk")
def install():
# Declaring local variables
bin_name = glob.glob("julia-*.exe")[0]
app_uninstall_key = f"Julia-{control.get_software_version()}_is1"
# Uninstalling portable version of the software
if isdir(app_dir) and not installed_softwares(name="Julia "):
remove_tree(app_dir)
remove_from_system_path(makepath(programfiles, "julia", "bin"))
# Uninstalling other versions of the software
for to_uninstall in installed_softwares(name="Julia "):
if Version(to_uninstall["version"]) != Version(control.get_software_version()) or force:
if makepath(to_uninstall["install_location"], os.sep) != makepath(app_dir, os.sep):
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"])
else:
print("Unregistering: %s (%s)" % (to_uninstall["name"], to_uninstall["version"]))
unregister_uninstall(uninstallkey)
wait_uninstallkey_absent(to_uninstall["key"])
# Installing the software
install_exe_if_needed(
bin_name,
silentflags=silentflags,
key=app_uninstall_key,
min_version=control.get_software_version(),
timeout=600,
)
add_to_system_path(app_sys_path)
# Changing desktop shortcuts
remove_desktop_shortcut("Julia*")
create_desktop_shortcut("Julia.lnk", r"C:\Program Files\Julia\bin\julia.exe")
#Changing program menu shortcuts
remove_programs_menu_shortcut("Julia*", r"C:\ProgramData\Microsoft\Windows\Start Menu")
create_programs_menu_shortcut("Julia.lnk", r"C:\Program Files\Julia\bin\julia.exe")
def uninstall():
remove_from_system_path(app_sys_path)
# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
update_dict = {
# "windows-x64": "-win64.zip",
"windows-x64": "-win64.exe",
"windows-x86": "-win32.exe",
"mac-x64": "-mac64.dmg",
"mac-arm64": "-macaarch64.dmg",
}
url = "https://julialang.org/downloads/"
# Getting latest version from official sources
print("URL used is: %s" % url)
for bs_search in bs_find_all(url, "a", proxies=proxies):
if update_dict[f'{ensure_list(control.target_os)[0].split("(")[0]}-{ensure_list(control.architecture)[0]}'] in bs_search.get("href", ""):
download_url = bs_search["href"]
latest_bin = bs_search["href"].split("/")[-1]
version = latest_bin.split("-")[1]
break
# Downloading latest binaries
print("Latest %s version is: %s" % (control.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)
# Deleting outdated binaries
remove_outdated_binaries(latest_bin)
# arch_list = ensure_list(control.architecture)
# remove_outdated_binaries(version, filename_contains=("x64" if "x64" in arch_list else "x86" if "x86" in arch_list else []))
# Checking version from file
if get_os_name() == "Windows" and "windows" in control.target_os.lower():
version_from_file = get_version_from_binary(latest_bin)
if Version(version_from_file, 4) == Version(version, 4):
print(f"INFO: Binary file version ({version_from_file}) corresponds to online version ({version})")
else:
error(f"ERROR: Binary file version ({version_from_file}) do NOT corresponds to online version ({version})")
# Changing version of the package
if Version(version, 4) > Version(control.get_software_version(), 4):
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()
# Validating or not update-package-sources
return package_updated
# # Changing version of the package and validating update-package-sources
# return complete_control_version(control, version)
99168a4d3b928beeb8c3f2117d1910ef84779b1f009dcff0b9ea5fe9a78ee70d : setup.py
c707b9cc5cd4da71b8e557a4542b3e2314b0ddc393ef925b65eb560cc9566240 : julia-1.10.0-win32.exe
5e4f00e39f225d6649eb0fd858e2c08d6430bad9e36d171c4887451456c54b65 : update_package.py
19f3c2d374cc23797dfdaa2706b1ea4648283220a2f04630ca3396f36d6ea05f : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
035c7f2849cbaeab33427c450a1026056887e6ec3e7833fbdfd09ccff1da4a57 : luti.json
c0bc67aa268d6c64f66d08f5da72e8605246aa978fc79c74ab4b32214d25c8aa : WAPT/control