Re: [Distutils] Looking for a presentation on Egg

2007-07-04 Thread Noah Gift
That is a good presentation! I found this too: http://us.pycon.org/TX2007/PythonEggsCreation . I remember going to the egg talk at PyCon this year, but I don't remember if there were slides or not? On 7/4/07, Andreas Jung <[EMAIL PROTECTED]> wrote: --On 2. Juli 2007 09:45:00 -0500 Ian Bick

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

2007-07-23 Thread Noah Gift
uld be the final straw for some new 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 wit

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 08:54 PM 7/24/2007 +0200, Martin v. Löwis wrote: > > >> Right. However, if setuptools would stop making case insensitive > > >> lookups to the index, lookups to unregistered packages would become > > >> more efficient. > > > > > > I'm not s

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

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

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 y

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 distu

[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 -f confusion

2008-01-04 Thread Noah Gift
On Jan 3, 2008, at 10:15 PM, Jeff Rush wrote: > Phillip J. Eby wrote: >> >> In some alternate universe in which I have the funding (and therefore >> time) to actually work on setuptools 0.7 and "nest", this and many >> other issues would certainly be fixable. > > Sometimes you just have to ask.

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

2008-01-17 Thread Noah Gift
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 specific question is: Can I use: python2.5 ./setup.py bdist_rpm --binary-only --release=py25 --python=/ usr

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 fin

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

2008-01-17 Thread Noah Gift
setup(name='liten', version='0.1.3', 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='No

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

2008-01-17 Thread Noah Gift
>>> >> In order to create an egg, to my knowledge, you create a build/lib >> directory and place your scripts or library inside, then run >> setup.py bdist_egg. > > Where did you get that knowledge? We should correct whatever source > you got that from, because that is absolutely *not* the w

Re: [Distutils] alternatives to zc.buildout?

2008-02-10 Thread Noah Gift
s an official ambassador, I would love to talk to that person, to make 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 ___

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 t

[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] 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. >

[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/ma

[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]# zodbENV/bin/easy_i

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

2008-04-05 Thread Noah Gift
ot get any 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 -

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

2008-04-06 Thread Noah Gift
don't think 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

[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 t

Re: [Distutils] short circuiting module lookups

2009-04-07 Thread Noah Gift
On Wed, Apr 8, 2009 at 6:55 AM, P.J. Eby 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 s

Re: [Distutils] short circuiting module lookups

2009-04-08 Thread Noah Gift
On Wed, Apr 8, 2009 at 7:44 PM, Marius Gedminas 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,

Re: [Distutils] Adding entry points into Distutils ?

2009-05-05 Thread Noah Gift
On Tue, May 5, 2009 at 8:55 PM, Tarek Ziadé wrote: > 2009/5/5 P.J. Eby : >> At 06:57 PM 5/4/2009 -0500, Ian Bicking wrote: >>> >>> * I'm uncomfortable with the way entry points are scanned.  I haven't >>> looked close enough to back it up with numbers, but I think there's a >>> noticeable perform

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 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 wrote: > Paul Moore wrote: >> >> 2009/5/7 Tres Seaver : >>> >>> 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 the wrong pyt

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 wrote: > On Fri, May 8, 2009 at 11:24 AM, P.J. Eby wrote: >> At 10:21 AM 5/8/2009 +1200, Noah Gift wrote: >>> >>> 1. Different versions of Python conflict with previous versions of

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 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 >> my mind at sim

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 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 files. See the