Add PyYAML for WAPT
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
459 B

# -*- coding: UTF-8 -*-
from setuphelpers import *
uninstallkey = []
def install():
mkdirs(makepath(programfiles32,'wapt','lib','yaml'))
copytree2("yaml",makepath(programfiles32,'wapt','lib','yaml'))
def uninstall():
remove_tree(makepath(programfiles32,'wapt','lib','yaml'))
def audit():
if not isfile(makepath(programfiles32,'wapt','lib','yaml','__init__.py')):
print('PyYAML not installed')
return "ERROR"
return "OK"