actions.py 559 B

123456789101112131415161718192021
  1. # -*- coding: utf-8 -*-
  2. #
  3. # Licensed under the GNU General Public License, version 3.
  4. # See the file http://www.gnu.org/licenses/gpl.txt
  5. from inary.actionsapi import pythonmodules
  6. from inary.actionsapi import inarytools
  7. from inary.actionsapi import shelltools
  8. from inary.actionsapi import get
  9. WorkDir="setuptools-%s" % get.srcVERSION()
  10. def build():
  11. pythonmodules.run("bootstrap.py", pyVer="3")
  12. pythonmodules.compile(pyVer="3")
  13. def install():
  14. pythonmodules.install(pyVer="3")
  15. inarytools.remove("/usr/lib/*/site-packages/setuptools/*.exe")