actions.py 614 B

12345678910111213141516171819202122232425
  1. #!/usr/bin/env 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 shelltools
  8. from pisi.actionsapi import python3modules
  9. from pisi.actionsapi import get
  10. def setup():
  11. shelltools.system("sed -e '/ninja/d' -i pyproject.toml")
  12. # mesontools.configure("--prefix=/usr")
  13. def build():
  14. python3modules.compile()
  15. # mesontools.build()
  16. def install():
  17. python3modules.install()
  18. # mesontools.install()
  19. pisitools.dodoc("LICENSE", "README*")