Re: [python-win32] Using pip to install pywin32

2015-02-20 Thread Vernon D. Cole
Pywin32 is mostly written in C, and has lots of dependencies and weird build requirements. In order to compile it, you must have the same C compiler that your release of Python was built with. For older Python versions (like 2.7) that compiler is obsolete and hard to find, so installs from source

Re: [python-win32] Using pip to install pywin32

2015-02-20 Thread Kevin Horn
On Fri, Feb 20, 2015 at 8:07 AM, Vernon D. Cole vernondc...@gmail.com wrote: Pywin32 is mostly written in C, and has lots of dependencies and weird build requirements. In order to compile it, you must have the same C compiler that your release of Python was built with. For older Python

Re: [python-win32] Using pip to install pywin32

2015-02-20 Thread Preston Landers
I don't think pip can run this script (it even needs admin privs!). Is there a reason it couldn't run a script that presents a UAC prompt to elevate the process? Something like this: https://gist.github.com/Preston-Landers/267391562bc96959eb41 I guess for unattended installs you could just

Re: [python-win32] Using pip to install pywin32

2015-02-20 Thread Preston Landers
Actually that gist wouldn't help much since it uses pywin32, the thing we're trying to install. (derp!) There may be another way though. Possibly related: http://bugs.python.org/issue20641 On Fri, Feb 20, 2015 at 10:31 AM, Preston Landers pland...@gmail.com wrote: I don't think pip can

Re: [python-win32] Using pip to install pywin32

2015-02-20 Thread Thomas Heller
Am 20.02.2015 um 17:58 schrieb Preston Landers: Actually that gist wouldn't help much since it uses pywin32, the thing we're trying to install. (derp!) There may be another way though. Sure, you could port the gist to ctypes instead of pywin32. However, the problem is that pip doesn't run

[python-win32] Using pip to install pywin32

2015-02-19 Thread Chris Angelico
Has anyone successfully pip installed the pywin32 package? I'm having some trouble with it at the moment. In theory, it should be easier to instruct people to type pip install pywin32 than go to the sourceforge download page, pick the right installer, and run it; but the installer is currently

Re: [python-win32] Using pip to install pywin32

2015-02-19 Thread Kevin Horn
check out this bug: http://sourceforge.net/p/pywin32/bugs/669/ There's been some interest, but the pywin32 developers themselves don't seem to have gotten involved. I'm not sure why. It would be really nice to have pywin32 be pip-installable. On Thu, Feb 19, 2015 at 4:23 AM, Chris Angelico