tis-addfont 0.4

  • package : tis-addfont
  • version : 0.4
  • description : Installation de polices via WAPT
  • maintainer : Administrateur
  • date : 2017-07-20 15:49:45
  • signer : TRANQUIL IT SYSTEMS
  • signature_date : 20170720-154945
  • min_os_version :
  • min_wapt_version :

setup.py

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

# registry key(s) where WAPT will find how to remove the application(s)
uninstallkey = []

# command(s) to launch to remove the application(s)
uninstallstring = []

# list of required parameters names (string) which can be used during install
required_params = []


def install():
    # if you want to modify the keys depending on environment (win32/win64... params..)
    global uninstallkey
    global uninstallstring

    import glob
    if iswin64():
        fontreg = "FontReg64.exe"
    else:
        fontreg = "FontReg32.exe"
    print('installing myfonts')
    run(r'cd fonts && ..\%s /copy'%fontreg)

    

manifest

[["WAPT/certificate.crt", "0db563dc9077b268ca07ba834322d0fc5e21f8e5"], ["fonts/Inconsolata.otf", "7f0a4919d91edcef0af9dc153054ec49d1ab3072"], ["FontReg64.exe", "a0e905f65016f2573c8069f8e0982f3192b3daa9"], ["setup.py", "057ce122c4a0dd403f6afed4ee120f589d670256"], ["WAPT/control", "042287d1b8b0072dd4327aab6e942cd5f198fced"], ["FontReg32.exe", "dd297f9cedd50fb2ef72004bec7c77bd592f2d07"]]