# -*- 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)

