2015-02-26 23:21:05 +01:00
|
|
|
from toolchain import Recipe, shprint
|
|
|
|
from os.path import join
|
|
|
|
import sh
|
|
|
|
|
|
|
|
|
|
|
|
class pkg_resources(Recipe):
|
|
|
|
depends = ["hostpython", "python"]
|
2018-11-10 10:14:39 +01:00
|
|
|
archs = ["x86_64"]
|
2015-02-26 23:21:05 +01:00
|
|
|
url = ""
|
|
|
|
|
|
|
|
def prebuild_arch(self, arch):
|
2018-11-10 10:14:39 +01:00
|
|
|
sh.cp("pkg_resources.py",
|
|
|
|
join(self.ctx.site_packages_dir, "pkg_resources.py"))
|
2015-02-26 23:21:05 +01:00
|
|
|
|
|
|
|
|
2018-11-10 10:14:39 +01:00
|
|
|
recipe = pkg_resources()
|