2015-02-26 23:21:05 +01:00
|
|
|
from toolchain import Recipe, shprint
|
|
|
|
from os.path import join
|
|
|
|
import sh
|
|
|
|
import os
|
|
|
|
|
|
|
|
|
|
|
|
class pkg_resources(Recipe):
|
|
|
|
depends = ["hostpython", "python"]
|
|
|
|
archs = ['i386']
|
2016-12-09 23:38:27 +01:00
|
|
|
url = "pkgr"
|
2015-02-26 23:21:05 +01:00
|
|
|
|
|
|
|
def prebuild_arch(self, arch):
|
2015-02-27 15:45:29 +01:00
|
|
|
sh.cp("pkg_resources.py", join(self.ctx.dist_dir, "root", "python", "lib", "python2.7", "site-packages", "pkg_resources.py"))
|
2015-02-26 23:21:05 +01:00
|
|
|
|
|
|
|
recipe = pkg_resources()
|
|
|
|
|
|
|
|
|