actions.py 672 B

1234567891011121314151617181920212223242526
  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 pisitools
  7. from pisi.actionsapi import pythonmodules
  8. from pisi.actionsapi import shelltools
  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("python setup.py import_cldr")
  14. #pythonmodules.compile()
  15. def install():
  16. pythonmodules.install()
  17. pisitools.dohtml("docs/")
  18. #pisitools.insinto(htmltxt, "docs/*.txt")
  19. pisitools.dodoc("LICENSE","AUTHORS","README*")