actions.py 669 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 pythonmodules
  7. from pisi.actionsapi import pisitools
  8. from pisi.actionsapi import shelltools
  9. def build():
  10. pythonmodules.compile(pyVer="3")
  11. shelltools.system("python3 setup.py build")
  12. def check():
  13. pass
  14. #pythonmodules.run("setup.py test", pyVer="3")
  15. #pythonmodules.run("test/run_all_unittests.py",pyVer="3")
  16. #pythonmodules.run("test/run_examples_test.py",pyVer="3")
  17. def install():
  18. pythonmodules.install(pyVer="3")
  19. pisitools.dodoc("LICENSE", "README*")