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

2008-08-11 Thread Michael Gundlach
Sweet!  Thanks to everyone for your suggestions and info.

Michael

On Sat, Aug 9, 2008 at 3:06 AM, Chris Galvan <[EMAIL PROTECTED]> wrote:
> A lot of people have been frustrated with the lack of development on
> setuptools, which is partially do to the fact that Phillip has been busy
> with other (paid) projects, but also that he is really the only developer :)
>   However, he has been allotting more time recently and plans to release 0.6
> final release by the end of August.
>
> -- Chris Galvan
>
> Michael Gundlach wrote:
>>
>> 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 figure out a
>> workaround :)
>>
>> Michael
>>
>> On Sat, Aug 9, 2008 at 2:08 AM, Mark Hammond <[EMAIL PROTECTED]>
>> wrote:
>>
>>>
>>> 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 2008 10:53 PM
>>> To: [email protected]
>>> Subject: [python-win32] pywin32 install via setuptools -- conclusion?
>>>
>>>
>>>
>>> Hi,
>>>
>>> I've got a module that relies on pywin32 being installed (to consume but
>>> not
>>> create COM objects, and to respond to COM events).  My module installs
>>> with
>>> easy_install, and I'd love to have its dependency graph automatically
>>> install pywin32, or at least the bits important for COM object and event
>>> consumption.
>>>
>>> Is this possible?  I found a thread from last year to this effect, but
>>> the
>>> outcome wasn't clear (at least to me).
>>>
>>> Thanks!
>>> Michael
>>>
>>
>> ___
>> python-win32 mailing list
>> [email protected]
>> http://mail.python.org/mailman/listinfo/python-win32
>>
>>
>
>
___
python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32


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

2008-08-09 Thread Chris Galvan
A lot of people have been frustrated with the lack of development on 
setuptools, which is partially do to the fact that Phillip has been busy 
with other (paid) projects, but also that he is really the only 
developer :)   However, he has been allotting more time recently and 
plans to release 0.6 final release by the end of August.


-- Chris Galvan

Michael Gundlach wrote:

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 figure out a workaround :)

Michael

On Sat, Aug 9, 2008 at 2:08 AM, Mark Hammond <[EMAIL PROTECTED]> wrote:
  

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 2008 10:53 PM
To: [email protected]
Subject: [python-win32] pywin32 install via setuptools -- conclusion?



Hi,

I've got a module that relies on pywin32 being installed (to consume but not
create COM objects, and to respond to COM events).  My module installs with
easy_install, and I'd love to have its dependency graph automatically
install pywin32, or at least the bits important for COM object and event
consumption.

Is this possible?  I found a thread from last year to this effect, but the
outcome wasn't clear (at least to me).

Thanks!
Michael


___
python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32

  


___
python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32


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 figure out a workaround :)

Michael

On Sat, Aug 9, 2008 at 2:08 AM, Mark Hammond <[EMAIL PROTECTED]> wrote:
> 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 2008 10:53 PM
> To: [email protected]
> Subject: [python-win32] pywin32 install via setuptools -- conclusion?
>
>
>
> Hi,
>
> I've got a module that relies on pywin32 being installed (to consume but not
> create COM objects, and to respond to COM events).  My module installs with
> easy_install, and I'd love to have its dependency graph automatically
> install pywin32, or at least the bits important for COM object and event
> consumption.
>
> Is this possible?  I found a thread from last year to this effect, but the
> outcome wasn't clear (at least to me).
>
> Thanks!
> Michael
___
python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32


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 2008 10:53 PM
To: [email protected]
Subject: [python-win32] pywin32 install via setuptools -- conclusion?

 

Hi,

I've got a module that relies on pywin32 being installed (to consume but not
create COM objects, and to respond to COM events).  My module installs with
easy_install, and I'd love to have its dependency graph automatically
install pywin32, or at least the bits important for COM object and event
consumption.

Is this possible?  I found a thread from last year to this effect, but the
outcome wasn't clear (at least to me).

Thanks!
Michael

___
python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32


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(EPD) which includes an 'egg' version
> of pywin32 that someone could easy_install.  The entire distribution is
> free, but unfortunately there is an annual fee
> to access the egg repository for individual packages.  However, I would be

Would it be against Enthought's license for me to pay the annual fee,
download the egg, modify it in some way, and then make it freely
available?  I read the applicable part of the license and it sounds
like if I modify the egg for my own use, then after the license
terminates I can still keep and distribute the modified copy.  I don't
want to violate the spirit of their license, so maybe this isn't
kosher, but I'd also like to avoid duplication of effort! :)

> more than willing to help you get
> started  with using setuptools and creating an egg for pywin32 :).  Even if
> the pywin32 project doesn't upload the egg to
> PyPi, there is still another way through setuptools to make a single install
> step for your users.

Right -- by pointing explicitly to where the egg file can be found, correct?

Thanks very much for the offer of help -- if my above license hack is
a no-go, then I'll probably see you on IRC.

Michael
___
python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32


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

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 work for a company called Enthought who also ships a Python 
Distribution(EPD) which includes an 'egg' version
of pywin32 that someone could easy_install.  The entire distribution 
is free, but unfortunately there is an annual fee
to access the egg repository for individual packages.  However, I 
would be more than willing to help you get
started  with using setuptools and creating an egg for pywin32 :).  
Even if the pywin32 project doesn't upload the egg to
PyPi, there is still another way through setuptools to make a single 
install step for your users.


-- Chris Galvan



If they don't want it, I can host the egg at pythonlibrary.org. Let me 
know if I can help. I'm kind of green with the setuptools / 
easy_install thing too, but it's on my "TODO" list of things to learn.


Mike


Sure thing, I'm always hanging out in #setuptools and #distutils on 
freenode.net if you want to discuss it in more detail, or anyone for 
that matter :)


-- Chris Galvan

___
python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32


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

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
[email protected]
http://mail.python.org/mailman/listinfo/python-win32


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

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 work for a company called Enthought who also ships a Python 
Distribution(EPD) which includes an 'egg' version
of pywin32 that someone could easy_install.  The entire distribution 
is free, but unfortunately there is an annual fee
to access the egg repository for individual packages.  However, I 
would be more than willing to help you get
started  with using setuptools and creating an egg for pywin32 :).  
Even if the pywin32 project doesn't upload the egg to
PyPi, there is still another way through setuptools to make a single 
install step for your users.


-- Chris Galvan

If they don't want it, I can host the egg at pythonlibrary.org. Let me 
know if I can help. I'm kind of green with the setuptools / easy_install 
thing too, but it's on my "TODO" list of things to learn.


Mike
___
python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32


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

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 work for a company called Enthought who also ships a Python 
Distribution(EPD) which includes an 'egg' version
of pywin32 that someone could easy_install.  The entire distribution is 
free, but unfortunately there is an annual fee
to access the egg repository for individual packages.  However, I would 
be more than willing to help you get
started  with using setuptools and creating an egg for pywin32 :).  Even 
if the pywin32 project doesn't upload the egg to
PyPi, there is still another way through setuptools to make a single 
install step for your users.


-- Chris Galvan

___
python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32


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 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
[email protected]
http://mail.python.org/mailman/listinfo/python-win32


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

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
___
python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32


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

2008-08-07 Thread Michael Gundlach
Hi,

Sorry to be dense, but I assume you mean the ActiveState cookbook at
http://code.activestate.com/recipes/langs/python/ ?

I have looked through there for something related to installing pywin32, and
came up empty.

Do you remember anything else about the recipe?  The project name, maybe?

Thanks for your help,
Michael

On Thu, Aug 7, 2008 at 1:34 AM, Michel Claveau <[EMAIL PROTECTED]> wrote:

> Hi!
>
> ActiveState has a package, for install Python + Pywin32 (+ others), with
> quiet install.
>
> @-salutations
>
> Michel Claveau
>
>
___
python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32


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

2008-08-06 Thread Michel Claveau

Hi!

ActiveState has a package, for install Python + Pywin32 (+ others), with 
quiet install.


@-salutations

Michel Claveau

___
python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32