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

2020-05-26 Thread Vernon D. Cole
Tim:
  I don't understand.  If I include pywin32 as a pip requirement, then I
get the whole thing, I think. How can I "ship a package" without carrying
the unneeded parts around?


On Sun, May 24, 2020 at 12:28 AM Tim Roberts  wrote:

> On May 23, 2020, at 4:27 AM, Markus Kramer 
> 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, t...@probo.com
> Providenza & Boekelheide, Inc.
>
> ___
> python-win32 mailing list
> python-win32@python.org
> https://mail.python.org/mailman/listinfo/python-win32
>
___
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32


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

2020-05-26 Thread Tim Roberts
On May 26, 2020, at 6:29 AM, Vernon D. Cole  wrote:
> 
>   I don't understand.  If I include pywin32 as a pip requirement, then I get 
> the whole thing, I think. How can I "ship a package" without carrying the 
> unneeded parts around?

I am under the impression that most people shipping Windows Python applications 
do so using something like Pyinstaller or Py2Exe, which packages up something 
that looks to the end user like a single executable, but which actually 
contains a zip file with the necessary modules and DLLs.  The zip file only 
contains the parts of pywin32 that are actually required by the application.

If you’re shipping your application via pip on WIndows, then virtually everyone 
will already have pywin32.  It is a critical component.
— 
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.

___
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32