actions.py 619 B

123456789101112131415161718192021222324
  1. # -*- coding: utf-8 -*-
  2. #
  3. # Licensed under the GNU General Public License, version 3.
  4. # See the file http://www.gnu.org/licenses/gpl.txt
  5. from pisi.actionsapi import pisitools
  6. from pisi.actionsapi import shelltools
  7. from pisi.actionsapi import autotools
  8. from pisi.actionsapi import pythonmodules
  9. from pisi.actionsapi import get
  10. options="WXPORT=gtk2 UNICODE=1 WX_CONFIG=/usr/bin/wx-config-2.8"
  11. def build():
  12. shelltools.cd("wxPython")
  13. pythonmodules.compile(options)
  14. def install():
  15. shelltools.cd("wxPython")
  16. pythonmodules.install(options)
  17. pisitools.dohtml("docs/*")
  18. pisitools.dodoc("docs/*.txt")