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 "ActivePython":

http://www.activestate.com/Products/activepython/index.mhtml
http://www.activestate.com/Products/activepython/feature_list.mhtml

Mike

Thanks, Mike.

Michel, thanks for the tip.  Having my users install the ActivePython
distribution isn't really a better solution, as I'd just be replacing
"install pywin32" with "install ActivePython".

Instead, I'm looking for a way to use distutils to install my module
on a user's computer, and at the same time, install the necessary bits
of pywin32 so that COM object consumption and COM event registration
are supported.  That way, the user just types

    easy_install <my_package_name>

and voila, everything is in place.

If this doesn't exist yet for pywin32, I might be willing to have a go
at writing the patch, if I had some pointers.  Perhaps it would be
possible to make a distutils pywin32 package which turned around,
downloaded the install executable, and ran it; then module developers
could install_requires pywin32 and it would Just Work.  I'm new to
distutils, pywin32, and COM, but I'm willing to learn :)

Any more ideas, anyone?

Michael
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 or give a message to the user to do it manually. Getting just bits and pieces of pywin32 probably isn't something that it supports, however. And I don't think Hammond has an egg version of Pywin32 either...if there was one, then easy_install would work.

-------------------
Mike Driscoll

Blog:   http://blog.pythonlibrary.org
Python Extension Building Network:     http://www.pythonlibrary.org
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to