Files
main/programming/language/python3/python3-sanic/actions.py
T
2017-08-16 21:54:26 +03:00

26 lines
583 B
Python

#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import pythonmodules
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
shelltools.export("PYTHONDONTWRITEBYTECODE", "1")
def setup():
shelltools.system("python3 setup.py install")
def build():
pythonmodules.compile(pyVer="3")
def install():
pythonmodules.install(pyVer="3")
pisitools.dodoc("README*","PKG-INFO","MANIFEST*")