49
49
cmd = 'from setuptools.command.easy_install import main; main()'
50
ws = pkg_resources.working_set
50
ws = pkg_resources.working_set
55
assert subprocess.Popen([sys.executable] + ['-c', quote(cmd), '-mqNxd',
56
quote(tmpeggs), 'zc.buildout'],
59
ws.find(pkg_resources.Requirement.parse('setuptools')).location
58
pkg_resources.Requirement.parse('setuptools')).location
61
assert subprocess.Popen(
63
['-c', quote(cmd), '-mqNxd', quote(tmpeggs), 'zc.buildout'],
65
os.P_WAIT, sys.executable, quote (sys.executable),
66
'-c', quote (cmd), '-mqNxd', quote (tmpeggs), 'zc.buildout',
68
os.P_WAIT, sys.executable, quote(sys.executable),
69
'-c', quote(cmd), '-mqNxd', quote(tmpeggs), 'zc.buildout',
69
73
ws.find(pkg_resources.Requirement.parse('setuptools')).location