[Distutils] Something that doesn't run from an egg
dangoor at gmail.com
Thu Jul 7 16:39:49 CEST 2005
On 7/7/05, Ryan Tomayko <rtomayko at gmail.com> wrote:
> cd /Library/Frameworks/Python.framework/Versions/2.4/lib/
> mv py-0.8.0_alpha1-py2.4.egg py-0.8.0_alpha1-py2.4.egg.zip
> mkdir py-0.8.0_alpha1-py2.4.egg
> cd py-0.8.0_alpha1-py2.4.egg
> unzip ../py-0.8.0_alpha1-py2.4.egg.zip
> Now you should be able to run everything and as a kinda-egg (e.g.
> metadata and scripts are available). Of course, there's not much
> value in using setuptools at all at this point. :)
Yep. Of course, I already had a running py lib, I was just turning
some parts used by my project into eggs.
> I think the best path for getting the py lib to work with
> easy_install would be to just fix up their distutils setup and build
> a normal tar.gz source distributions. We can worry about porting the
> code to use pkg_resources at a later time. They've chosen to employ
> some interesting techniques for distribution, however, so I'm not
> sure how bad the problem is.
That's true... At least py lib is pure python, so you can easy_install
it without having to have a functional C compiler. I'll give this a
whirl on another day...
More information about the Distutils-SIG