1234567891011121314151617181920212223 |
- #!/usr/bin/python
- # -*- coding: utf-8 -*-
- #
- # Licensed under the GNU General Public License, version 3.
- # See the file https://www.gnu.org/licenses/gpl-3.0.txt
- from pisi.actionsapi import pythonmodules
- from pisi.actionsapi import shelltools
- from pisi.actionsapi import pisitools
- def setup():
- shelltools.system("find . -type f -exec sed -i 's/env\ python$/env python3/g' {} \;")
- pisitools.dosed("setup.py", "gtk-update", "gtk3-update")
- def build():
- pythonmodules.compile(pyVer = '3')
- def install():
- pythonmodules.install(pyVer = '3')
- # pisitools.dodoc("README.md")
|