#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt

from pisi.actionsapi import pythonmodules as py3, shelltools, get

t = "dist/importlib_metadata-7.2.1-py3-none-any.whl"
shelltools.export("SETUPTOOLS_SCM_PRETEND_VERSION", "7.2.1")

def build():
    py3.run("-m build", pyVer = '3')

def install():
    py3.run("-m installer -d %s %s" % (get.installDIR(), t), pyVer = '3')
