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

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)

    

Changelog

No changelog
    

manifest.sha256

[["WAPT/certificate.crt", "20f25d6b242159077345379865f8e0d84bdc9e4764190f1aa6cb3816bcabd341"], ["fonts/Inconsolata.otf", "1561e616c414a1b82d6e6dfbd18e5726fd65028913ade191e5fa38b6ec375a1a"], ["FontReg64.exe", "c38ac955e588a8e22f51e9b6460017c1e0642001b0f0b9139737675256913908"], ["setup.py", "8fbe549c3dd39c09c2af4e6efe1b622d2f692eb071dea22a45bcecff61e87896"], ["WAPT/control", "3dc2b03c6244c518d8238e9d2f497bfc157712d424a871bf5f628d24c94f341f"], ["FontReg32.exe", "0a76dd4304c1c0fb3454e888acc92f7423c22181035e37b6153519f7d7075c10"]]