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']
|
|
|
|
url = ""
|
|
|
|
|
|
|
|
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()
|
|
|
|
|
|
|
|
|