python3-sanic packed

This commit is contained in:
ismetsezer
2017-08-16 21:54:26 +03:00
parent e6cce9e91d
commit 7d643b8656
2 changed files with 70 additions and 0 deletions
@@ -0,0 +1,25 @@
#!/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*")