actions.py 503 B

12345678910111213141516171819
  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 pisi.actionsapi import pythonmodules
  6. from pisi.actionsapi import pisitools
  7. from pisi.actionsapi import get
  8. WorkDir="setuptools-%s" % get.srcVERSION()
  9. def build():
  10. pythonmodules.run("bootstrap.py")
  11. pythonmodules.compile()
  12. def install():
  13. pythonmodules.install()
  14. pisitools.remove("/usr/lib/%s/site-packages/setuptools/*.exe" % get.curPYTHON())