[pyinstaller/pyinstaller] 8e199e: Import pywin32 in compat and only use it from ther...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[pyinstaller/pyinstaller] 8e199e: Import pywin32 in compat and only use it from ther...

Dustin Spicuzza
  Branch: refs/heads/develop
  Home:   https://github.com/pyinstaller/pyinstaller
  Commit: 8e199ebac090435fc7ba54524b2238fc5d3a77d3
      https://github.com/pyinstaller/pyinstaller/commit/8e199ebac090435fc7ba54524b2238fc5d3a77d3
  Author: Dustin Spicuzza <[hidden email]>
  Date:   2017-09-20 (Wed, 20 Sep 2017)

  Changed paths:
    M PyInstaller/__init__.py
    M PyInstaller/compat.py
    M PyInstaller/utils/win32/icon.py
    M PyInstaller/utils/win32/versioninfo.py
    M PyInstaller/utils/win32/winresource.py
    M PyInstaller/utils/win32/winutils.py
    M setup.py

  Log Message:
  -----------
  Import pywin32 in compat and only use it from there.

This eliminates the "early pywin32 import" warning/error.
- This allows using pywin32ctypes without confusing import requirements
- Removes code that assumes win32api might not be present (which can never be true now anyways)

See c901c4265c1bd41332396e6e7ec7f5290bd79bb4 and 3e142240d95ad3061593185bfbf6f602e4be39af.


--
You received this message because you are subscribed to the Google Groups "PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/d/optout.