actions.py 403 B

1234567891011121314151617
  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/copyleft/gpl.txt.
  6. from pisi.actionsapi import pisitools
  7. from pisi.actionsapi import pythonmodules
  8. def build():
  9. pythonmodules.compile()
  10. def install():
  11. pythonmodules.install()
  12. # rename binary "wheel"
  13. pisitools.rename("/usr/bin/wheel", "wheel-py2")