Re: [Distutils] distribute and install --root

2010-05-10 Thread Tarek Ziadé
On Mon, May 10, 2010 at 1:41 AM, Glyph Lefkowitz gl...@twistedmatrix.com wrote: On May 9, 2010, at 5:47 PM, Tarek Ziadé wrote: Having .local here looks like a bug to me. Could you create an issue with details ? For what it's worth, I have had similar things happen when I had forogtten that

[Distutils] easy_install (and hence virtual_env, buildout, etc) versus .msi

2010-05-10 Thread Chris Withers
Hi All, Is there any way to get easy_install to use .msi's as a source for distros on Windows? Twisted is only distributed as a .msi :-/ Chris ___ Distutils-SIG maillist - Distutils-SIG@python.org

Re: [Distutils] ..\setup.py relative invocation

2010-05-10 Thread Fred Drake
On Sun, May 9, 2010 at 1:52 PM, Éric Araujo mer...@netwok.org wrote: make has a -C option that takes as argument the directory to cd to before running. Would something like that be ok? As long as there's a setup.py, cd'ing to that directory seems better than requiring more of the end user.

Re: [Distutils] distribute and install --root

2010-05-10 Thread Glyph Lefkowitz
On May 10, 2010, at 9:14 AM, Nikolaus Rath wrote: Glyph Lefkowitz gl...@twistedmatrix.com writes: On May 9, 2010, at 5:47 PM, Tarek Ziadé wrote: Having .local here looks like a bug to me. Could you create an issue with details ? For what it's worth, I have had similar things happen when

Re: [Distutils] [sqlalchemy] Re: inability to pass setup.py command line arguments to dependency setups

2010-05-10 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lennart Regebro wrote: On Sat, May 8, 2010 at 07:48, Glyph Lefkowitz gl...@twistedmatrix.com wrote: a dependency-correctness issue. However, if a C extension wraps features necessary for an application to work correctly, without which it will

Re: [Distutils] [sqlalchemy] Re: inability to pass setup.py command line arguments to dependency setups

2010-05-10 Thread Lennart Regebro
On Mon, May 10, 2010 at 20:35, Tres Seaver tsea...@palladion.com wrote: http://peak.telecommunity.com/DevCenter/setuptools#declaring-extras-optional-features-with-their-own-dependencies Right, that's what I was thinking of. Clearly in this case, the MySQL package should declare it's C-extensions

[Distutils] How to track performance improvements in my code?

2010-05-10 Thread Matthew Wilson
I know how to use timeit and/or profile to measure the current run-time cost of some code. I want to record the time used by some original implementation, then after I rewrite it, I want to find out if I made stuff faster or slower, and by how much. Other than me writing down numbers on a piece

Re: [Distutils] distribute and install --root

2010-05-10 Thread Tarek Ziadé
On Mon, May 10, 2010 at 8:30 PM, Glyph Lefkowitz gl...@twistedmatrix.com wrote: On May 10, 2010, at 9:14 AM, Nikolaus Rath wrote: Glyph Lefkowitz gl...@twistedmatrix.com writes: On May 9, 2010, at 5:47 PM, Tarek Ziadé wrote: Having .local here looks like a bug to me. Could you create an

Re: [Distutils] How to track performance improvements in my code?

2010-05-10 Thread Lennart Regebro
On Mon, May 10, 2010 at 21:38, Matthew Wilson m...@tplus1.com wrote: I know how to use timeit and/or profile to measure the current run-time cost of some code. I want to record the time used by some original implementation, then after I rewrite it, I want to find out if I made stuff faster

Re: [Distutils] How to track performance improvements in my code?

2010-05-10 Thread Tarek Ziadé
On Mon, May 10, 2010 at 10:06 PM, Lennart Regebro rege...@gmail.com wrote: On Mon, May 10, 2010 at 21:38, Matthew Wilson m...@tplus1.com wrote: I know how to use timeit and/or profile to measure the current run-time cost of some code. I want to record the time used by some original

Re: [Distutils] distribute and install --root

2010-05-10 Thread Glyph Lefkowitz
On May 10, 2010, at 4:05 PM, Tarek Ziadé wrote: Yes, someone provided this patch a while ago and I've added it (it's --no-user-cfg in 2.6). Do you mean in 2.7? I see it documented here: http://docs.python.org/dev/distutils/builtdist.html, but not here: