<div dir="ltr">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.<br><div class="gmail_extra"><br></div><div class="gmail_extra">Possibly related: <a href="http://bugs.python.org/issue20641">http://bugs.python.org/issue20641</a><br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 20, 2015 at 10:31 AM, Preston Landers <span dir="ltr"><<a href="mailto:planders@gmail.com" target="_blank">planders@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><span class="">> I don't think pip can run this script (it even needs admin privs!).</span><div><div><img src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif"><br></div><div>Is there a reason it couldn't run a script that presents a UAC prompt to elevate the process? <br><br></div><div>Something like this: <a href="https://gist.github.com/Preston-Landers/267391562bc96959eb41" target="_blank">https://gist.github.com/Preston-Landers/267391562bc96959eb41</a><br></div><div><br></div><div>I guess for unattended installs you could just elevate the process beforehand.<span class=""><font color="#888888"><br><br></font></span></div><span class=""><font color="#888888"><div>-Preston<br> <br></div><div><br></div></font></span></div><div><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 20, 2015 at 9:24 AM, Thomas Heller <span dir="ltr"><<a href="mailto:theller@ctypes.org" target="_blank">theller@ctypes.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Am 20.02.2015 um 15:07 schrieb Vernon D. Cole:<span><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Pywin32 is mostly written in C, and has lots of dependencies and weird<br>
build requirements. In order to compile it, you must have the same C<br>
compiler that your release of Python was built with. For older Python<br>
versions (like 2.7) that compiler is obsolete and hard to find, so<br>
installs from source are pretty nearly impossible.<br>
<br>
Would a binary wheel be able to do all of the crazy set up that the<br>
Windows installer does?<br>
</blockquote>
<br></span>
AFAIK, wheel do not support post_install scripts.<br>
<br>
According to the comments in Scripts\pywin32_postinstall.<u></u>py, it does:<br>
<br>
# copies PyWinTypesxx.dll and PythonCOMxx.dll into the system directory,<br>
# and creates a pth file<br>
<br>
According to the code, it does a lot more...<br>
<br>
I don't think pip can run this script (it even needs admin privs!).<span><font color="#888888"><br>
<br>
Thomas</font></span><div><div><br>
<br>
______________________________<u></u>_________________<br>
python-win32 mailing list<br>
<a href="mailto:python-win32@python.org" target="_blank">python-win32@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-win32" target="_blank">https://mail.python.org/<u></u>mailman/listinfo/python-win32</a><br>
</div></div></blockquote></div><br></div></div></div></div>
</blockquote></div><br></div></div>