[python-win32] How to install pywin32 for Text only/TTY, excluding all GUI components

Markus Kramer markuskramerigitt at gmail.com
Sat May 23 07:27:52 EDT 2020


Hello,
I would like to discuss and contribute to an alternative pip package
without GUI:
- pip install pywin32       continues as is, e.g. includes Pythonwin.
- pip install pywin32nogui  would contain no GUI components, e.g. MFC.dll.
What are your thoughts?

As far as I can see, this would require changes in setup.py.
I am aware that dropping Python2 support will also change setup.py.

Best regards,
Markus
Thank you for merging https://github.com/mhammond/pywin32/pull/1490


On Thu, Mar 19, 2020 at 12:29 AM Markus Kramer <markuskramerigitt at gmail.com>
wrote:

> Hello,
> SaltStack is a text based, non-GUI Python application that uses pywin32.
> The GUI related parts of pywin32 are of no use, but increase the size.
>
> Can one install/compile pywin32 so, that only the test-based components
> are installed?
>
> I cannot find back an old discussion regarding this question.
>
> Thank you,
> Markus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20200523/b779af70/attachment.html>


More information about the python-win32 mailing list