Re: [Distutils] SETUPTOOLS - Loading Eggs which do not have an egg_info

2006-12-07 Thread Phillip J. Eby
At 03:41 PM 12/7/2006 +0200, Ilias Lazaridis wrote: Is there any documented way to load such a raw egg (egg sources without a generated egg-info) into the application, without the need to generate the egg-info? No. Of course, if you know where the plugin directories are, you can always run

Re: [Distutils] SETUPTOOLS - Loading Eggs which do not have an egg_info

2006-12-07 Thread Ilias Lazaridis
Phillip J. Eby wrote: At 06:24 PM 12/7/2006 +0200, Ilias Lazaridis wrote: Looks somehow like this: ... setuptools.dist.Distribution instance at 0x0187E260 That Distribution is a distutils distribution, not a pkg_resources distribution. ok How can I create an egg representing object

Re: [Distutils] SETUPTOOLS - Loading Eggs which do not have an egg_info

2006-12-07 Thread Ilias Lazaridis
Phillip J. Eby wrote: At 06:24 PM 12/7/2006 +0200, Ilias Lazaridis wrote: Looks somehow like this: ... How can I create an egg representing object (from the sources/setup.py), from which I can load the entry-points afterwards, without having to generate an egg_info on the file-system? You

Re: [Distutils] SETUPTOOLS - Loading Eggs which do not have an egg_info

2006-12-07 Thread Ilias Lazaridis
Phillip J. Eby wrote: At 08:57 PM 12/7/2006 +0200, Ilias Lazaridis wrote: File C:\prg\py24\lib\site-packages\setuptools-0.6c3-py2.4.egg\pkg_resources.py, line 1829, in load if require: self.require(env, installer) Yeah, you need to pass 'require=False' to entrypoint.load(). See:

Re: [Distutils] SETUPTOOLS - Loading Eggs which do not have an egg_info

2006-12-07 Thread Phillip J. Eby
At 08:57 PM 12/7/2006 +0200, Ilias Lazaridis wrote: ep_map = pkg_resources.EntryPoint.parse_map(dist.entry_points, dist) By the way, I missed this line in your email before: you should *not* pass dist as the second argument here. That method is looking for a

Re: [Distutils] Compiler Incompatibility

2006-12-07 Thread John Machin
On 7/12/2006 5:59 AM, Robert McFadzean wrote: I have been trying to build MySQLdb for python and A. Dustman has come to the conclusion that the minGW32 compiler that I am using will not work with a Windows ( os is Windows XP) versions of Python and MySQL. Can anyone here confirm that he is

Re: [Distutils] Compiler Incompatibility

2006-12-07 Thread Chris Lambacher
On Wed, Dec 06, 2006 at 11:59:30AM -0700, Robert McFadzean wrote: I have been trying to build MySQLdb for python and A. Dustman has come to the conclusion that the minGW32 compiler that I am using will not work with a Windows ( os is Windows XP) versions of Python and MySQL. Can anyone here