Re: [Distutils] ez_setup.py -U setuptools does TWO downloads, TWO installs

2007-02-10 Thread John Machin
On 11/02/2007 4:46 PM, Phillip J. Eby wrote: > At 04:02 PM 2/11/2007 +1100, John Machin wrote: >> On 11/02/2007 3:41 PM, Phillip J. Eby wrote: >>> At 12:59 PM 2/11/2007 +1100, John Machin wrote: Is this usual? >>> Yes. ez_setup.py is a front-end to easy_install, that happens to >>> also down

Re: [Distutils] ez_setup.py -U setuptools does TWO downloads, TWO installs

2007-02-10 Thread Phillip J. Eby
At 04:02 PM 2/11/2007 +1100, John Machin wrote: >On 11/02/2007 3:41 PM, Phillip J. Eby wrote: >>At 12:59 PM 2/11/2007 +1100, John Machin wrote: >>>Is this usual? >>Yes. ez_setup.py is a front-end to easy_install, that happens to also >>download and install the latest version of setuptools. If yo

Re: [Distutils] ez_setup.py -U setuptools does TWO downloads, TWO installs

2007-02-10 Thread John Machin
On 11/02/2007 3:41 PM, Phillip J. Eby wrote: > At 12:59 PM 2/11/2007 +1100, John Machin wrote: >> Is this usual? > > Yes. ez_setup.py is a front-end to easy_install, that happens to also > download and install the latest version of setuptools. If you want to > just install the latest version o

Re: [Distutils] ez_setup.py -U setuptools does TWO downloads, TWO installs

2007-02-10 Thread Phillip J. Eby
At 12:59 PM 2/11/2007 +1100, John Machin wrote: >Is this usual? Yes. ez_setup.py is a front-end to easy_install, that happens to also download and install the latest version of setuptools. If you want to just install the latest version of setuptools, the '-U setuptools' is redundant, unless y

[Distutils] ez_setup.py -U setuptools does TWO downloads, TWO installs

2007-02-10 Thread John Machin
Is this usual? The ez_setup.py is fresh off the setuptools website. Environment: Python 2.5; Windows XP Pro SP2 Console log follows. Cheers, John == C:\sw\setuptools>\python25\python ez_setup.py -U setuptools Downloading http://ch

Re: [Distutils] Building an egg from Subversion using zc.buildout

2007-02-10 Thread Phillip J. Eby
At 02:20 PM 2/10/2007 -0500, Jim Fulton wrote: >On Feb 10, 2007, at 2:16 PM, Phillip J. Eby wrote: > >>At 12:54 PM 2/10/2007 -0500, Jim Fulton wrote: >... > >>>(Note: Buildout uses PackageIndex to locate and fetch distributions. >>>It then installs distributions itself. if the distribution is >>>

Re: [Distutils] Alternates in SetupTools dependencies?

2007-02-10 Thread Phillip J. Eby
At 06:26 PM 2/10/2007 -0500, Mike C. Fletcher wrote: >I'm starting to package OpenGLContext as a series of .eggs but I seem to >be missing something key: > > What's the syntax for declaring "I require numpy or Numeric" > >I could declare them as "extras", but it's not that they are >individuall

Re: [Distutils] Best practices for accelerator modules?

2007-02-10 Thread Phillip J. Eby
At 06:40 PM 2/10/2007 -0500, Mike C. Fletcher wrote: >In a number of my OpenGLContext projects I have "accelerator" modules, >small, optional C extensions which are optional, and thus likely >"extra_requires" candidates. I gather the best practice for these >things is to create a separate .egg wit

[Distutils] Best practices for accelerator modules?

2007-02-10 Thread Mike C. Fletcher
In a number of my OpenGLContext projects I have "accelerator" modules, small, optional C extensions which are optional, and thus likely "extra_requires" candidates. I gather the best practice for these things is to create a separate .egg with some name like "PyVRML97-frustum-accelerators-numpy

[Distutils] Alternates in SetupTools dependencies?

2007-02-10 Thread Mike C. Fletcher
I'm starting to package OpenGLContext as a series of .eggs but I seem to be missing something key: What's the syntax for declaring "I require numpy or Numeric" I could declare them as "extras", but it's not that they are individually extras, one or the other is *required* for the PyVRML97

Re: [Distutils] Building an egg from Subversion using zc.buildout

2007-02-10 Thread Jim Fulton
On Feb 10, 2007, at 2:16 PM, Phillip J. Eby wrote: > At 12:54 PM 2/10/2007 -0500, Jim Fulton wrote: ... >> (Note: Buildout uses PackageIndex to locate and fetch distributions. >> It then installs distributions itself. if the distribution is >> already an egg, then this is straightforward. Oth

Re: [Distutils] Building an egg from Subversion using zc.buildout

2007-02-10 Thread Phillip J. Eby
At 12:54 PM 2/10/2007 -0500, Jim Fulton wrote: >On Feb 9, 2007, at 6:49 PM, Phillip J. Eby wrote: > >>At 05:26 PM 2/9/2007 -0500, Jim Fulton wrote: >>> > ValueError: ("Couldn't find", Requirement.parse >>> > ('archetypes.kss==dev')) >>> >>>I finally found some time to look into this. >>> >>>Buildo

Re: [Distutils] Building an egg from Subversion using zc.buildout

2007-02-10 Thread Jim Fulton
On Feb 9, 2007, at 6:49 PM, Phillip J. Eby wrote: > At 05:26 PM 2/9/2007 -0500, Jim Fulton wrote: >> > ValueError: ("Couldn't find", Requirement.parse >> > ('archetypes.kss==dev')) >> >> I finally found some time to look into this. >> >> Buildout uses setuptools APIs. It uses a PackageIndex to d

Re: [Distutils] Confusion about the effect of eggs on import

2007-02-10 Thread skip
>> (I'm sending this to distutils because I have this vague notion that >> the problem might have something to do with setuptools or eggs on >> sys.path.) Phillip> Their mere presence on sys.path doesn't do anything, if you're Phillip> not importing pkg_resources or importing