Matt Feifarek wrote: > On 2/15/07, *Shannon -jj Behrens* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Use "python setup.py develop" and then pretend you're not using an > egg, but that you installed the app in Python's site-packages ;) > > > I remember that vaguely from my first Pylons tutorial... I suppose it > got lost in all of the hoops one has to jump through. I take it that it > "installs" the egg, making it appear to be a "real" package. Thanks.
It puts a line in easy-install.pth (on the actual page) that points to your package directory. And again you need the indirection, because it actually has to point to the parent of the package directory. > I have multiple one-off Web sites. I just think of eggs as a nice way > to distribute them in .zip files :-/ > > > Can one just zip 'em and then change the file extension? Almost, but not quite -- python setup.py egg_info writes some (important) stuff to MyPackage.egg-info, and an egg itself generally puts the metadata in EGG-INFO instead of MyPackage.egg-info -- though when and why is a little unclear to me. -- Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org _______________________________________________ Paste-users mailing list [email protected] http://webwareforpython.org/cgi-bin/mailman/listinfo/paste-users
