actions.py 817 B

12345678910111213141516171819202122232425262728
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Licensed under the GNU General Public License, version 3.
  5. # See the file http://www.gnu.org/licenses/gpl.txt
  6. from pisi.actionsapi import pythonmodules
  7. from pisi.actionsapi import shelltools
  8. from pisi.actionsapi import pisitools
  9. from pisi.actionsapi import get
  10. #WorkDir = "Babel-%s" % get.srcVERSION()
  11. #htmltxt = "%s/%s/html" % (get.docDIR(), get.srcNAME())
  12. def build():
  13. shelltools.system("mkdir -p cldr")
  14. shelltools.system("cp core.zip cldr/cldr-core-36.zip")
  15. shelltools.system("python setup.py import_cldr")
  16. shelltools.system("python setup.py build")
  17. #pythonmodules.compile()
  18. def install():
  19. pythonmodules.install()
  20. pisitools.dohtml("docs/")
  21. #pisitools.insinto(htmltxt, "docs/*.txt")
  22. pisitools.dodoc("LICENSE","AUTHORS","README*")