Re: [Distutils] distutils.util.get_platform() for Windows

2007-07-26 Thread Mark Hammond
> > http://en.wikipedia.org/wiki/X86-64 notes that 'x64' is a common > > name, so > > how does 'win-x64' and 'win-ia64' sound as a compromise? > I'm happy > > to let > > any other informal "votes" make a final decision though... > > As one who is forever switching back and forth among operating > s

Re: [Distutils] Best practices on distributing documentation and examples with eggs?

2007-07-26 Thread Phillip J. Eby
At 04:07 PM 7/26/2007 -0400, Barry Warsaw wrote: >On Jul 26, 2007, at 3:44 PM, Phillip J. Eby wrote: >>Note that if you are using a revision control system, and >>setuptools deletes a file from there, it might get restored by your >>revision control, and that could potentially be a problem unless >

Re: [Distutils] Best practices on distributing documentation and examples with eggs?

2007-07-26 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Jul 26, 2007, at 3:44 PM, Phillip J. Eby wrote: > At 02:55 PM 7/26/2007 -0400, Barry Warsaw wrote: > >> On Jul 26, 2007, at 11:52 AM, Phillip J. Eby wrote: >> >>> There are a few different ways you could do this. The easiest would >>> be to put a

Re: [Distutils] Regeneration of source manifest

2007-07-26 Thread Arve Knudsen
On 7/26/07, Phillip J. Eby <[EMAIL PROTECTED]> wrote: At 10:51 PM 7/25/2007 +0200, Arve Knudsen wrote: >I take it there is no interest in fixing this problem? Or is it >simply too much hassle?? > >Arve > >On 7/10/07, Arve Knudsen < >[EMAIL PROTECTED]> wrote: >Hello > >A

Re: [Distutils] Best practices on distributing documentation and examples with eggs?

2007-07-26 Thread Phillip J. Eby
At 02:55 PM 7/26/2007 -0400, Barry Warsaw wrote: >On Jul 26, 2007, at 11:52 AM, Phillip J. Eby wrote: > >>There are a few different ways you could do this. The easiest would >>be to put a docs subdirectory either inside one of your packages or >>inside your .egg-info directory, then use the pkg_r

Re: [Distutils] Best practices on distributing documentation and examples with eggs?

2007-07-26 Thread Phillip J. Eby
At 02:13 PM 7/26/2007 -0500, Dave Peterson wrote: >In further discussions at Enthought, we're now thinking that creating a >'docs' dir as a top-level under python itself makes sense, and then the >installation of eggs could copy docs and/or examples there in a manner >similar to how it handles scri

Re: [Distutils] Best practices on distributing documentation and examples with eggs?

2007-07-26 Thread Dave Peterson
Stanley A. Klein wrote: > On Thu, July 26, 2007 12:46 pm, Phillip J. Eby wrote: > At 03:02 AM 7/26/2007 -0500, Dave Peterson wrote: > >>> Over on the enthought-dev mailing list we're having a bit of a >>> discussion on what the best way to distribute documenation and examples >>> is for projects

Re: [Distutils] Namespace packages and egg-info confusion when using bdist_rpm

2007-07-26 Thread Stanley A. Klein
It worked. Problem solved. Thanks. Stan Klein On Thu, July 26, 2007 2:01 pm, Phillip J. Eby wrote: > At 01:37 PM 7/26/2007 -0400, Stanley A. Klein wrote: >>I had the same error. Should I have put in an "import enthought" in all >>the others? > > No, apparently the manual import doesn't help

Re: [Distutils] Best practices on distributing documentation and examples with eggs?

2007-07-26 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Jul 26, 2007, at 11:52 AM, Phillip J. Eby wrote: > There are a few different ways you could do this. The easiest would > be to put a docs subdirectory either inside one of your packages or > inside your .egg-info directory, then use the pkg_resour

[Distutils] Best practices on distributing documentation and examples with eggs?

2007-07-26 Thread Stanley A. Klein
On Thu, July 26, 2007 12:46 pm, Phillip J. Eby wrote: At 03:02 AM 7/26/2007 -0500, Dave Peterson wrote: >>Over on the enthought-dev mailing list we're having a bit of a >>discussion on what the best way to distribute documenation and examples >>is for projects that we distribute binary eggs for.

Re: [Distutils] Namespace packages and egg-info confusion when using bdist_rpm

2007-07-26 Thread Phillip J. Eby
At 01:37 PM 7/26/2007 -0400, Stanley A. Klein wrote: >I had the same error. Should I have put in an "import enthought" in all >the others? No, apparently the manual import doesn't help. Presumably the ones you changed need something more like this: import enthought; enthought.traits = sys.modu

Re: [Distutils] Namespace packages and egg-info confusion when using bdist_rpm

2007-07-26 Thread Stanley A. Klein
On Thu, July 26, 2007 12:46 pm, Phillip J. Eby wrote: > At 12:34 PM 7/26/2007 -0400, Stanley A. Klein wrote: >>I disabled the __init__.py's on the namespace packages by renaming them. >> A >>sys.modules.keys() shows the namespace packages in the list. Then I >>interactively did the first three st

Re: [Distutils] Namespace packages and egg-info confusion when using bdist_rpm

2007-07-26 Thread Phillip J. Eby
At 12:34 PM 7/26/2007 -0400, Stanley A. Klein wrote: >I disabled the __init__.py's on the namespace packages by renaming them. A >sys.modules.keys() shows the namespace packages in the list. Then I >interactively did the first three statements of the test_traits.py >program: > >import unittest >fr

Re: [Distutils] Namespace packages and egg-info confusion when using bdist_rpm

2007-07-26 Thread Stanley A. Klein
On Wed, 2007-07-25 at 18:10 -0400, Phillip J. Eby wrote: > At 04:42 PM 7/25/2007 -0400, Stanley A. Klein wrote: > >I've been trying to build rpms of enthought system components. Some of them use namespace packages. Those packages have the required __init__.py > >files containing > >"__import__('p

Re: [Distutils] Best practices on distributing documentation and examples with eggs?

2007-07-26 Thread Phillip J. Eby
At 03:02 AM 7/26/2007 -0500, Dave Peterson wrote: >Over on the enthought-dev mailing list we're having a bit of a >discussion on what the best way to distribute documenation and examples >is for projects that we distribute binary eggs for. The general >consensus is that it would be very nice inde

Re: [Distutils] [Catalog-sig] Prototype setuptools-specific PyPI index.

2007-07-26 Thread Phillip J. Eby
At 11:30 AM 7/26/2007 -0400, Noah Gift wrote: >Have you envisioned a workflow that interacts with RPM's or other >package management systems? I know my company uses RPM's for >example to package up our Python Packages, and many shops use RPM >and/or debian packaging systems. Running bdist_rpm

Re: [Distutils] [Catalog-sig] Prototype setuptools-specific PyPI index.

2007-07-26 Thread Noah Gift
On 7/24/07, Phillip J. Eby <[EMAIL PROTECTED]> wrote: > At 06:30 PM 7/24/2007 -0400, Noah Gift wrote: > >Does this mean it is also easy to point to another local repository > >that is available via NFS? I guess a local http mirror would work > >just as well, if you told the opener about it. > > Yo

[Distutils] Best practices on distributing documentation and examples with eggs?

2007-07-26 Thread Dave Peterson
Over on the enthought-dev mailing list we're having a bit of a discussion on what the best way to distribute documenation and examples is for projects that we distribute binary eggs for. The general consensus is that it would be very nice indeed if there was a way to generate a tarball, or pl

Re: [Distutils] DistUtils does not install

2007-07-26 Thread Rajeev Nair
Thanks, Philip. I installed python-devel from the SUSE installation CD and that helped. I was able to import distutils without any error from the python prompt. -Original Message- From: Phillip J. Eby [mailto:[EMAIL PROTECTED] Sent: Thursday, July 26, 2007 1:51 AM To: Rajeev Nair; distuti