if package_dir is set to say "src" in setup.py than .egg-info files are
generated in the src/ directory.
this is unknown to create_distro.py
if os.path.exists(os.path.join(output_dir, 'setup.py')):
self.run_command(sys.executable, 'setup.py', 'egg_info',
cwd=output_dir,
# This shouldn't be necessary, but a bug in
setuptools 0.6c3 is causing a (not entirely fatal) problem that I don't want to
fix right now:
expect_returncode=True)
elif self.verbose > 1:
print 'No setup.py (cannot run egg_info)'
output_dir = os.path.join(output_dir, package_src)
egg_info_dir = pluginlib.egg_info_dir(output_dir, dist_name)
as a very bad hack I look for vars.get('package_dir) and join the subdir,
perhaps walking the tree search for a directory ending in .egg-info would work
am I just missing something obvious?
Kevin Smith
_______________________________________________
Paste-users mailing list
[email protected]
http://webwareforpython.org/cgi-bin/mailman/listinfo/paste-users