On Sep 12, 2006, at 3:11 PM, Phillip J. Eby wrote: > At 07:18 AM 9/12/2006 -0400, Kevin Dangoor wrote: > >> (don't miss the "." after the d). This will unzip eggs that are not >> "zip safe". > > No, it won't. It's just that if you have an egg on your machine > that meets the requirements and it already unzipped, it will get > copied to the target directory as-is. But for downloaded eggs, > that won't happen, or if it does, it's a bug, in which case please > send more details so I can fix it. :)
Ahh, I hadn't caught that. That's easy enough. > >> If you look in the distutils-sig archive, I was asking about a better >> way to do this a couple days ago. It looks like some scripting is >> needed here. > > Yep. Maybe something like a "bdist_carton --platform=blah -- > formats=zip,tgz" command for setuptools would be just the thing. > It should install the eggs into a temporary directory in single- > version form (i.e. with .egg-info dirs) along with all the > packages' scripts. That way, just running any of the scripts would > ensure that all the packages were on sys.path, so the script > wrappers could be simpler than the standard easy_install-generated > ones. While this certainly sounds useful, it's a bit different from what I'm thinking of. I just want to gather up all of the original .egg files and put them into a tarball. Everything you'd need would be in there, and there could even be a trivial wrapper script that runs ez_setup.py with all of the right options to install those packages. This can give the user all of the easy_install options for installing, rather than being stuck manually dropping the untarred directory into the right place or adding it to their PYTHONPATH.. Kevin _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
