Files
main/programming/language/python3/wxPython3/actions.py
T
4fury-c3440d8 f77289df60 wxPython3.
2022-09-08 19:31:12 +03:00

23 lines
672 B
Python

#!/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
from pisi.actionsapi import shelltools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
shelltools.export("JOBS", get.makeJOBS().replace("-j5", "5"))
options="WXPORT=gtk3 WX_CONFIG=/usr/bin/wx-config-gtk3"
def setup():
pisitools.dosed("buildtools/config.py", "attrdict", deleteLine = True)
def build():
pythonmodules.compile(pyVer = '3', parameters = options)
def install():
pythonmodules.install(pyVer = '3', parameters = options)