actions.py 726 B

123456789101112131415161718192021
  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 get
  8. NoStrip = ["/usr/bin", "/usr/lib", "/usr/qt5/qsci/api"]
  9. conf = {"bindir": "/usr/bin",
  10. "installdir": get.installDIR(),
  11. "site-packages": "/usr/lib/python3.6/site-packages"}
  12. def install():
  13. pythonmodules.run("install.py -z \
  14. -b %(bindir)s \
  15. -i %(installdir)s \
  16. -d %(site-packages)s \
  17. -c" % conf, pyVer = "3")
  18. pythonmodules.fixCompiledPy()