actions.py 629 B

12345678910111213141516171819202122
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Licensed under the GNU General Public License, version 3.
  5. # See the file https://www.gnu.org/licenses/gpl-3.0.txt
  6. from pisi.actionsapi import pythonmodules
  7. from pisi.actionsapi import pisitools
  8. def setup():
  9. # no install man pages into data dir.
  10. pisitools.dosed("setup.cfg", ",\ \*.1", "")
  11. pisitools.dosed("setup.cfg", "1$", deleteLine = True)
  12. def build():
  13. pythonmodules.compile(pyVer = "3")
  14. def install():
  15. pythonmodules.install("--install-scripts=/usr/bin --install-data=/usr/share", pyVer = "3")
  16. pisitools.doman("scons.1", "scons-time.1", "sconsign.1")