This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mhammond
Recipients Ivan.Pozdeev, barry, brett.cannon, christian.heimes, eric.smith, eric.snow, ethan smith, mhammond, ncoghlan, pitrou, takluyver
Date 2018-07-02.01:33:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1530495186.74.0.56676864532.issue33944@psf.upfronthosting.co.za>
In-reply-to
Content
pywin32, up until recently, just listed 3 directories in its .pth file - these were for directories which pre-dated packages and were never converted. Eg, "import win32api" actually loads win32api.pyd from the "site-packages/win32" directory.

Earlier this year, via https://github.com/mhammond/pywin32/issues/1151, I also added the line:

import os;os.environ["PATH"]+=(';'+os.path.join(sitedir,"pywin32_system32"))

which is to support pywin32 being installed from wheels - this is due to pywin32 shipping with various shared DLLs which implement many pywin32 types - eg, pywintypesXX.dll is used by (almost) every single .pyd shipped with pywin32, and disutils doesn't offer any way of copying files as part of a post-install script or any other way of ensuring these .dll files are on the PATH or otherwise next to pythonXX.dll/.exe

I'm happy to replace both of these with alternatives when they exist.
History
Date User Action Args
2018-07-02 01:33:07mhammondsetrecipients: + mhammond, barry, brett.cannon, ncoghlan, pitrou, eric.smith, christian.heimes, eric.snow, takluyver, Ivan.Pozdeev, ethan smith
2018-07-02 01:33:06mhammondsetmessageid: <1530495186.74.0.56676864532.issue33944@psf.upfronthosting.co.za>
2018-07-02 01:33:06mhammondlinkissue33944 messages
2018-07-02 01:33:05mhammondcreate