waptpython pip
Silent install package for waptpython pip
26.0.1-22
Development
Development
- package: tis-waptpython-pip
- name: waptpython pip
- version: 26.0.1-22
- categories: Development
- maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ
- locale: all
- target_os: all
- architecture: all
- signature_date:
- size: 1.80 Mo
- installed_size: 6.26 Mo
- homepage : https://pip.pypa.io/
package : tis-waptpython-pip
version : 26.0.1-22
architecture : all
section : base
priority : optional
name : waptpython pip
categories : Development
maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ
description : The PyPA recommended tool for installing Python packages.
depends :
conflicts :
maturity : PROD
locale : all
target_os : all
min_wapt_version : 2.3
sources : https://pypi.org/project/pip/#files
installed_size : 6258273
impacted_process :
description_fr :
description_pl :
description_de :
description_es :
description_pt :
description_it :
description_nl :
description_ru :
audit_schedule : 2h
editor :
keywords : waptpython,python,pip,pypi,package
licence :
homepage : https://pip.pypa.io/
package_uuid : 25f58c35-a46d-4ca9-812d-b756243ac52b
valid_from :
valid_until :
forced_install_on :
changelog : https://pip.pypa.io/en/stable/news/
min_os_version :
max_os_version :
icon_sha256sum : 3307da49dca7842503f3369c908cd625f2b16276a8690e4dd37c08a057580c44
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2026-02-10T03:08:37.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 : O/MJyDH9zI+4IcWRyMVKj8UXRyKWHdqINgOauHzMSwoiXGQJ1z79KvjiiTcb+yXXXfcdc+QPsz1ViIcfbKd91KXyrqx/DIeazZ9o4i6BqGNmWgsYPP5ADIVY303zS7RYv4o7cGpC/5iLeACIB+RWdStfC/7KQn4TmXjbFo/f//yjQ4IaxzJJfAwlmXO49HG9JFzla8oN8wLjDlJ88fr81zwWPTrRggCN0Qovb+yxyEzSluIoZ/PO+pCp1/KxITkuArcCY1Rl2jASNmA776xml8KKR1sfRNwvIxCv0JBqS9YIgSVEbbaFUv+9OsLaxbz00jUzcmHeoNb3KkLAdI6GYQ==
# -*- coding: utf-8 -*-
from setuphelpers import *
import sysconfig
waptpython_lib_sp_dir = waptpython_lib_sp_dir = sysconfig.get_paths()["purelib"]
pip_folder = makepath(waptpython_lib_sp_dir, "pip")
def install():
bin_name = glob.glob('*.whl')[0]
unzip(bin_name,waptpython_lib_sp_dir)
def audit():
if not isdir(pip_folder):
return "ERROR"
return "OK"
def uninstall():
if isdir(pip_folder):
remove_tree(pip_folder)
# -*- 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()
name_pypi = "pip"
wanted_file = "py3-none-any.whl"
api_url = f"https://pypi.org/pypi/{name_pypi}/json"
data = wgets(api_url, proxies=proxies, as_json=True)
version = data['info']['version']
latest_release_binaries = data['releases'][version]
for f in latest_release_binaries:
if not f['yanked'] and f['url'].endswith(wanted_file):
download_url = f['url']
sumsha256 = f['digests']['sha256']
break
whl = download_url.split('/')[-1]
wget(download_url, whl, sha256=sumsha256, proxies=proxies)
for f in glob.glob('*.whl'):
if f != whl:
remove_file(f)
# Changing version of the package
if Version(version) > Version(control.get_software_version()):
print(f"Software version updated (from: {control.get_software_version()} to: {Version(version)})")
package_updated = True
else:
print(f"Software version up-to-date ({Version(version)})")
control.set_software_version(version)
control.save_control_to_wapt()
# Validating update-package-sources
return package_updated
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
808b1eac7acb0f13437357d307c5cd1b2297b9aede6c8c5340468392c047951e : WAPT/control
3307da49dca7842503f3369c908cd625f2b16276a8690e4dd37c08a057580c44 : WAPT/icon.png
d74c2e0202486971240dbfb258124e87debeeba316c4b149b9910aabbf40fbb6 : luti.json
bdb1b08f4274833d62c1aa29e20907365a2ceb950410df15fc9521bad440122b : pip-26.0.1-py3-none-any.whl
4bbb1177813349f742a3bc9fb889bf8602ff4424c2d79efcf28db1da579a81eb : setup.py
d899c3ce517b2c99f7e1d5e01550f88d0ba89817f68ac2c23a2521bb01d05090 : update_package.py