Re: [Distutils] PEP 376 - critique - why more sub-directories within python aren't needed...

2009-05-18 Thread Noah Gift
On Tue, May 19, 2009 at 12:59 PM, P.J. Eby p...@telecommunity.com wrote: At 08:34 PM 5/18/2009 -0400, David Lyon wrote: Why not keep the .EGG_INFO files in the site-packages directory? That's where they go. Each installed project has its own .egg-info subdirectory containing the listed

Re: [Distutils] PEP 376 - site-directories and site.addsitedir

2009-05-14 Thread Noah Gift
On Fri, May 15, 2009 at 10:48 AM, P.J. Eby p...@telecommunity.com wrote: At 11:38 PM 5/14/2009 +0200, Tarek Ziadé wrote: That happened because I got a bit lost in the way finders were working in setuptools, which seemed a bit over-engineered at that time to me (but I might end up changing

Re: [Distutils] Adding entry points into Distutils ?

2009-05-07 Thread Noah Gift
On Thu, May 7, 2009 at 7:18 AM, P.J. Eby p...@telecommunity.com wrote: At 08:28 PM 5/6/2009 +0200, Hanno Schlichting wrote: Doug Hellmann wrote: On May 6, 2009, at 1:46 PM, P.J. Eby wrote: At 10:59 AM 5/6/2009 -0400, Doug Hellmann wrote: On May 5, 2009, at 10:50 PM, P.J. Eby wrote:

Re: [Distutils] Adding entry points into Distutils ?

2009-05-07 Thread Noah Gift
On Fri, May 8, 2009 at 10:04 AM, Eric Smith e...@trueblade.com wrote: Paul Moore wrote: 2009/5/7 Tres Seaver tsea...@palladion.com: Eric Smith wrote: Yes. It creates a .exe wrapper [1]. By using entry points, I don't need to care what the target system is. Also, /usr/bin/env might invoke

Re: [Distutils] Adding entry points into Distutils ?

2009-05-07 Thread Noah Gift
resending, as I accidently only sent to PJE On Fri, May 8, 2009 at 11:48 AM, Noah Gift noah.g...@gmail.com wrote: On Fri, May 8, 2009 at 11:24 AM, P.J. Eby p...@telecommunity.com wrote: At 10:21 AM 5/8/2009 +1200, Noah Gift wrote: 1. Different versions of Python conflict with previous

Re: [Distutils] short circuiting module lookups

2009-04-08 Thread Noah Gift
On Wed, Apr 8, 2009 at 7:44 PM, Marius Gedminas mar...@pov.lt wrote: On Tue, Apr 07, 2009 at 02:23:50PM -0400, Jim Fulton wrote: On Apr 7, 2009, at 9:28 AM, P.J. Eby wrote: At 11:54 PM 4/7/2009 +1200, Noah Gift wrote: 1.  In the case of entry points for setuptools, it actually recurses

[Distutils] short circuiting module lookups

2009-04-07 Thread Noah Gift
I work off of a rather large NFS infrastructure where thousands of machines are constantly doing things, and recently I discovered a few things about both setuptools and standard Python lookup that are causing problems. I use nosetests, and noticed that it can take up to 10 seconds to 60 seconds

Re: [Distutils] short circuiting module lookups

2009-04-07 Thread Noah Gift
On Wed, Apr 8, 2009 at 6:55 AM, P.J. Eby p...@telecommunity.com wrote: At 02:23 PM 4/7/2009 -0400, Jim Fulton wrote: On Apr 7, 2009, at 9:28 AM, P.J. Eby wrote: At 11:54 PM 4/7/2009 +1200, Noah Gift wrote: 1.  In the case of entry points for setuptools, it actually recurses into EVERY egg

Re: [Distutils] ReST formatting errors when registering package can invalidate HTML conversion

2008-04-06 Thread Noah Gift
it is a client-side job. In any case you can test your long_description field like this: $ python setup.py --long-description | rst2html.py --strict /dev/null If something goes wrong in the conversion you'll get a warning here On Sun, Apr 6, 2008 at 2:19 AM, Noah Gift [EMAIL PROTECTED] wrote: I

[Distutils] ReST formatting errors when registering package can invalidate HTML conversion

2008-04-05 Thread Noah Gift
error message when I uploaded to the cheeseshop, and I just missed the minor formatting error when I was viewing the converted HTML document I used to preview what I created. Noah Gift / http://noahgift.com ___ Distutils-SIG maillist - Distutils

[Distutils] virtualenv not respecting --no-site-packages for ZODB3?

2008-03-16 Thread Noah Gift
I am getting the following behavior when using virtualenv to easy_install ZODB3. [EMAIL PROTECTED]:10256][J:0]# virtualenv --no-site-packages zodbENV New python executable in zodbENV/bin/python Installing setuptools..done. [EMAIL PROTECTED]:10257][J:0]#

[Distutils] Using eggs as Plugins

2008-02-25 Thread Noah Gift
architecture. If you work at a Python centric company and would like to be profiled in an O'Reilly book on your use of eggs, please contact me as well. Noah Gift ___ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman

Re: [Distutils] Creating Dynamic Command Line Options from Python Egg Plugins

2008-02-21 Thread Noah Gift
On Feb 20, 2008, at 8:13 PM, Michael Hoffman wrote: Noah Gift wrote: Has anyone created a command line tool, using optparse, that dynamically creates options from available eggs/plugins? I have a need to create such a tool, and was looking for an example. Thanks Michael. That gives me

[Distutils] Creating Dynamic Command Line Options from Python Egg Plugins

2008-02-20 Thread Noah Gift
Has anyone created a command line tool, using optparse, that dynamically creates options from available eggs/plugins? I have a need to create such a tool, and was looking for an example. Noah Gift ___ Distutils-SIG maillist - Distutils-SIG

Re: [Distutils] alternatives to zc.buildout?

2008-02-11 Thread Noah Gift
Thanks guys. I have sent you both emails offline. On Feb 10, 2008, at 3:33 PM, zooko wrote: On Feb 10, 2008, at 12:14 PM, Jim Fulton wrote: On Feb 10, 2008, at 2:01 PM, Noah Gift wrote: In reference to this rather long discussion. I would love to get an interview or case study

Re: [Distutils] alternatives to zc.buildout?

2008-02-10 Thread Noah Gift
sure I do it justice. That particular chapter will cover eggs, virtualenv, and buildout, so I pretty excited about it, although is the toughest chapter in the book so far. Noah Gift ___ Distutils-SIG maillist - Distutils-SIG@python.org http

Re: [Distutils] docs on using setuptools in a release cycle with RPMS

2008-01-17 Thread Noah Gift
On Jan 17, 2008, at 9:32 AM, Phillip J. Eby wrote: At 04:16 AM 1/17/2008 -0500, Noah Gift wrote: I am trying to get egg generation entry points integrated with building RPM's, and hopefully debian packages too. I haven't had much luck finding any documentation on this though. My

Re: [Distutils] docs on using setuptools in a release cycle with RPMS

2008-01-17 Thread Noah Gift
', description='a de-duplication command line tool', long_description=This command line tool will examine a file system and \ report back duplicates using a md5 checksum hash algorithm., author='Noah Gift', author_email='[EMAIL PROTECTED]', url='http://code.google.com/p/liten

[Distutils] virtual env w/ python2.4.4 and python2.5.1 on OS X Leopard, each with different virtual setup tools problem

2008-01-03 Thread Noah Gift
I am attaching a thread I started privately with Ian. The question is multi-part and somewhat complicated so please be patient. Background: I am running python2.5.1, the system python, i.e., default on Leopard: /System/Library/Frameworks/Python.framework/Versions/2.5/bin/ python2.5 I have

Re: [Distutils] easy_install of django sdist tarball omits data files

2007-12-21 Thread Noah Gift
I did find one recent argument for revisiting that decision, which also provides an alternate easy_install-compatible setup.py: http://jannisleidel.com/2007/11/using-django-with-setuptools/ Tres. I also like Ian's suggestion: With a little hack you can use setuptools with distutils

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. You don't

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

2007-07-24 Thread Noah Gift
On 7/24/07, Martin v. Löwis [EMAIL PROTECTED] wrote: Would it be a bad idea to suggest the case insensitive lookup happen against a local flat file that gets diff'd from PyPI? Then only the culprit gets punished using their own CPU :) What does it mean to diff a flat file from PyPI? I am

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

2007-07-24 Thread Noah Gift
My real motive is selfishness. I like that easy_install in not case sensitive, as I and other people I am helping to learn Python. I just hope that doesn't go away. My suggestion is mored geared toward, how do I keep that feature :) no intuition for, perhaps because English is not my native

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

2007-07-24 Thread Noah Gift
On 7/24/07, Phillip J. Eby [EMAIL PROTECTED] wrote: At 04:37 PM 7/24/2007 -0400, Noah Gift wrote: The basic algorithm is that a local index of PyPi could be kept in one file. If an incorrect search was made, the first action to occur would be to check if the local file was the same

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

2007-07-23 Thread Noah Gift
programmer to Python! Noah Gift ___ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig

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

2007-07-23 Thread Noah Gift
egg(1) is probably the best choice IMO. It doesn't conflict with any other existing *nix command that I can tell, and I can't think of a better command for dealing with Python eggs. It's immediately evocative. Now that I think about it, maybe it was 'egg' that you wanted to reserve. I like

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

2007-07-23 Thread Noah Gift
On 7/23/07, Jim Fulton [EMAIL PROTECTED] wrote: On Jul 23, 2007, at 2:58 PM, Benji York wrote: Martin v. Löwis wrote: And where somewhat slower could be practically not noticable. Perhaps it /could/ be, but isn't currently. For example, updating one piece of software I have with almost