Re: [python-win32] pywin32 install via setuptools -- conclusion?

2008-08-08 Thread Michael Gundlach
On Fri, Aug 8, 2008 at 9:52 AM, Mike Driscoll <[EMAIL PROTECTED]> wrote: > > Michael Gundlach wrote: >> >> Hi, >> >> Sorry to be dense, but I assume you mean the ActiveState cookbook at >> http://code.activestate.com/recipes/langs/python/ ? >> > > He's probably referring to "ActivePython": > > htt

Re: [python-win32] pywin32 install via setuptools -- conclusion?

2008-08-08 Thread Michael Gundlach
Thanks, Mike. If I figure out the syntax I'll post again for everybody's benefit. Michael On Fri, Aug 8, 2008 at 10:32 AM, Mike Driscoll <[EMAIL PROTECTED]> wrote: > I think easy_install supports a lot of that. If you set up your "setup.py" > file correctly, it will try to download what you want

Re: [python-win32] pywin32 install via setuptools -- conclusion?

2008-08-08 Thread Christopher Galvan
Michael Gundlach wrote: On Fri, Aug 8, 2008 at 9:52 AM, Mike Driscoll <[EMAIL PROTECTED]> wrote: Michael Gundlach wrote: Hi, Sorry to be dense, but I assume you mean the ActiveState cookbook at http://code.activestate.com/recipes/langs/python/ ? He's probably referring to "Ac

Re: [python-win32] pywin32 install via setuptools -- conclusion?

2008-08-08 Thread Mike Driscoll
Christopher Galvan wrote: Michael Gundlach wrote: On Fri, Aug 8, 2008 at 9:52 AM, Mike Driscoll <[EMAIL PROTECTED]> wrote: Michael Gundlach wrote: Hi, Sorry to be dense, but I assume you mean the ActiveState cookbook at http://code.activestate.com/recipes/langs/python/ ? He's

Re: [python-win32] pywin32 install via setuptools -- conclusion?

2008-08-08 Thread Mike Driscoll
Michael Gundlach wrote: On Fri, Aug 8, 2008 at 9:52 AM, Mike Driscoll <[EMAIL PROTECTED]> wrote: Michael Gundlach wrote: Hi, Sorry to be dense, but I assume you mean the ActiveState cookbook at http://code.activestate.com/recipes/langs/python/ ? He's probably referring to "Ac

Re: [python-win32] pywin32 install via setuptools -- conclusion?

2008-08-08 Thread Christopher Galvan
Mike Driscoll wrote: Christopher Galvan wrote: Michael Gundlach wrote: On Fri, Aug 8, 2008 at 9:52 AM, Mike Driscoll <[EMAIL PROTECTED]> wrote: Michael Gundlach wrote: Hi, Sorry to be dense, but I assume you mean the ActiveState cookbook at http://code.activestate.com/recipes/langs/pyt

Re: [python-win32] pywin32 install via setuptools -- conclusion?

2008-08-08 Thread Michael Gundlach
Hi Christopher, On Fri, Aug 8, 2008 at 10:59 AM, Christopher Galvan <[EMAIL PROTECTED]> wrote: > I work for a company called Enthought who also ships a Python I just read about Enthought for the first time the other day. It seems that Enthought and ActiveState do similar things. > Distribution(

[python-win32] Friendlier pywintypes.com_error mess ages

2008-08-08 Thread Brad Johnson
I am using pywin32 scripting as a client to my C++ COM application. Many of my functions in C++ are returning errors such as E_FAIL, E_POINTER, E_INVALIDARG, etc... However, the error message in Python is often cryptic such as a simple "Exception occurred" with the error code. I suppose I could h

Re: [python-win32] Friendlier pywintypes.com_error messages

2008-08-08 Thread Tim Roberts
Brad Johnson wrote: I am using pywin32 scripting as a client to my C++ COM application. Many of my functions in C++ are returning errors such as E_FAIL, E_POINTER, E_INVALIDARG, etc... ...which are, after all, just numbers. E_FAIL is 0x80004005, which shows in the exception report as -2147

Re: [python-win32] Friendlier pywintypes.com_error messages

2008-08-08 Thread Mark Hammond
Just following up from what Tim said: > However, the error message in Python is often cryptic such as a simple > "Exception occurred" with the error code. When DISP_E_EXECEPTION occurs, the object generating the error fills the data that comes back in the extra tuple. This information has the ca

Re: [python-win32] pywin32 install via setuptools -- conclusion?

2008-08-08 Thread Mark Hammond
See also http://bugs.python.org/setuptools/issue18 - the short story is that there is a fixed, but unreleased bug in setuptools that still prevents things working 100% Cheers, Mark From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Gundlach Sent: Wednesday, 6 August

Re: [python-win32] pywin32 install via setuptools -- conclusion?

2008-08-08 Thread Michael Gundlach
Mark, that's great! I hadn't realized that it was so close to installable via easy_install. It's less great that setuptools doesn't seem to have been released in two years... does anyone (Eby?) know the rough timeline for the next release? And if not, I'll go back to plan C, and see if I can fig