[python-win32] python-win32 Digest, Vol 205, Issue 5

Markus Kramer markuskramerigitt at gmail.com
Sun May 24 12:21:13 EDT 2020


Hello Tim,

thank you for asking

> What is the point?  Installing a package does not mean you are required
to use all of it.


The points are:
- Reduce vulnerability. The MFC library is large and (earlier? versions)
contained CVE's.
- Reduce maintenance cost. By shipping less, you need to observe less, and
patch less.
- Reduce resources. Less size mean less disk space and less network
bandwidth.

Then you wrote

> If you ship a package that doesn’t need the UI components, then your
package will not include the components.


This is my goal.
I don't get what you refer to with "package".
Currently, `pip install pywin32` will include the UI components, even if
they are not needed.


Best regards,
Markus

On Sun, May 24, 2020 at 6:00 PM <python-win32-request at python.org> wrote:

> Send python-win32 mailing list submissions to
>         python-win32 at python.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://mail.python.org/mailman/listinfo/python-win32
> or, via email, send a message with subject or body 'help' to
>         python-win32-request at python.org
>
> You can reach the person managing the list at
>         python-win32-owner at python.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of python-win32 digest..."
> Today's Topics:
>
>    1. Re: How to install pywin32 for Text only/TTY, excluding all
>       GUI components (Markus Kramer)
>    2. help about embed PDF in MS Word (Mart?n Trujillo Raddatz)
>    3. Re: How to install pywin32 for Text only/TTY, excluding all
>       GUI components (Tim Roberts)
>
>
>
> ---------- Forwarded message ----------
> From: Markus Kramer <markuskramerigitt at gmail.com>
> To: python-win32 at python.org
> Cc:
> Bcc:
> Date: Sat, 23 May 2020 13:27:52 +0200
> Subject: Re: [python-win32] How to install pywin32 for Text only/TTY,
> excluding all GUI components
> 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
>>
>
>
>
> ---------- Forwarded message ----------
> From: "Martín Trujillo Raddatz" <martintrujillor at gmail.com>
> To: python-win32 at python.org
> Cc:
> Bcc:
> Date: Sat, 23 May 2020 13:16:45 -0400
> Subject: [python-win32] help about embed PDF in MS Word
> HI! im new at programming in python, but very old in programming in
> general.......
> i have a request to extract 1 or more embed pdf files in a huge amount of
> ms word files.
>
> i have tried in many ways, but it seems than pywin32 is the easy one, but
> I can't get the entire solution can any one help me with clues or hints in
> how to do it?
>
> Thank you in advance.
>
>
> *----------------------------------------*
>
>
> *Martín Trujillo Raddatz         Puerto Montt - Chile            Teléfono:
> +59 9 96427814 *
> *----------------------------------------*
>
>
>
> ---------- Forwarded message ----------
> From: Tim Roberts <timr at probo.com>
> To: Python-Win32 List <python-win32 at python.org>
> Cc:
> Bcc:
> Date: Sat, 23 May 2020 23:28:10 -0700
> Subject: Re: [python-win32] How to install pywin32 for Text only/TTY,
> excluding all GUI components
> On May 23, 2020, at 4:27 AM, Markus Kramer <markuskramerigitt at gmail.com>
> wrote:
>
>
> 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?
>
>
> What is the point?  Installing a package does not mean you are required to
> use all of it.  If you ship a package that doesn’t need the UI components,
> then your package will not include the components.
>> Tim Roberts, timr at probo.com
> Providenza & Boekelheide, Inc.
>
> _______________________________________________
> python-win32 mailing list
> python-win32 at python.org
> https://mail.python.org/mailman/listinfo/python-win32
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20200524/f9a8c331/attachment-0001.html>


More information about the python-win32 mailing list