[pywin32-checkins] /hgroot/pywin32/pywin32: 5 new changesets
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: <pyw...@li...> - 2016-01-11 23:36:18
|
changeset 6d095bc9788e in /hgroot/pywin32/pywin32 details: http://pywin32.hg.sourceforge.net/hgweb/pywin32/pywin32/hgroot/pywin32/pywin32?cmd=changeset;node=6d095bc9788e summary: add more changes since build 219 changeset 0881d310bb60 in /hgroot/pywin32/pywin32 details: http://pywin32.hg.sourceforge.net/hgweb/pywin32/pywin32/hgroot/pywin32/pywin32?cmd=changeset;node=0881d310bb60 summary: fix issue that caused postinstall log to not be shown and remove outdated MFC warnings changeset 3b52e797727d in /hgroot/pywin32/pywin32 details: http://pywin32.hg.sourceforge.net/hgweb/pywin32/pywin32/hgroot/pywin32/pywin32?cmd=changeset;node=3b52e797727d summary: more build fixes changeset f30ccd8f8f38 in /hgroot/pywin32/pywin32 details: http://pywin32.hg.sourceforge.net/hgweb/pywin32/pywin32/hgroot/pywin32/pywin32?cmd=changeset;node=f30ccd8f8f38 summary: Build 220 changeset 77206efaed5e in /hgroot/pywin32/pywin32 details: http://pywin32.hg.sourceforge.net/hgweb/pywin32/pywin32/hgroot/pywin32/pywin32?cmd=changeset;node=77206efaed5e summary: Added tag b220 for changeset f30ccd8f8f38 diffstat: .hgtags | 1 + CHANGES.txt | 17 +++++++++++++++++ make_all.bat | 16 ++++++++++++---- pywin32_postinstall.py | 33 +++++++-------------------------- setup.py | 2 +- 5 files changed, 38 insertions(+), 31 deletions(-) diffs (127 lines): diff -r 06de33e3604d -r 77206efaed5e .hgtags --- a/.hgtags Sun Jan 10 12:34:56 2016 +1100 +++ b/.hgtags Tue Jan 12 10:36:02 2016 +1100 @@ -52,3 +52,4 @@ e97376eb14b6d95e79e01e1bf68ef8427bcbafdc b218.3 2d79b6bd94bc145f7f5a6e1c63d626737fc98e6c 218.5 713ac73c22e54a9d727f2fa4803b8c8939b14966 b219 +f30ccd8f8f38d37a94b3a105dc357f28501f67ba b220 diff -r 06de33e3604d -r 77206efaed5e CHANGES.txt --- a/CHANGES.txt Sun Jan 10 12:34:56 2016 +1100 +++ b/CHANGES.txt Tue Jan 12 10:36:02 2016 +1100 @@ -5,12 +5,29 @@ However contributors are encouraged to add their own entries for their work. Since build 219: +---------------- * win32com - sys.argv[0] may be set to a bytes object instead of a string on Python 3 when implementing an in-process COM object. * Fix that allows a property to be fetched on COM objects to work in more cases (Fredrik Orderud via patch #155) +* Disabled exchange and exchdapi modules on Python 2.5 due to unresolved + build issues. + +* Fix potential crash in SHGetIDListFromObject and SHGetFileInfo issues (rupole) + +* Allow GetShortPathName to handle long paths in unicode mode (ruple) + +* Fix intermittent crash in win32cred.CredRead() (bug #670, rupole) + +* Support PT_MV_BINARY MAPI properties, (patch #37) and many other MAPI + improvements (Nick Czeczulin) + +* Fix username used with EvtOpenSession (bug #688, rupole) + +* Fix OutputDebugString encoding in wide builds (patch #142, rupole) + Since build 218: ---------------- * win32com.mapi diff -r 06de33e3604d -r 77206efaed5e make_all.bat --- a/make_all.bat Sun Jan 10 12:34:56 2016 +1100 +++ b/make_all.bat Tue Jan 12 10:36:02 2016 +1100 @@ -37,11 +37,19 @@ py -3.4-32 setup3.py -q bdist_wininst --target-version=3.4 --skip-build py -3.4-32 setup3.py -q bdist_wininst --target-version=3.4 --skip-build --plat-name=win-amd64 -py -3.5-32 setup3.py -q bdist_wininst --skip-build -py -3.5 setup3.py -q bdist_wininst --skip-build +rem *sob* - for some reason 3.5 and later are failing to remove the bdist temp dir +rem due to the mfc DLLs - but the dir can be removed manually. +rem I've excluded the possibility of anti-virus or the indexer. +rem So manually nuke them before builds. +@if exist build\bdist.win32 rd /s/q build\bdist.win32 & @if exist build\bdist.amd64 rd /s/q build\bdist.amd64 +py -3.5-32 setup3.py -q bdist_wininst --target-version=3.5 --skip-build +@if exist build\bdist.win32 rd /s/q build\bdist.win32 & @if exist build\bdist.amd64 rd /s/q build\bdist.amd64 +py -3.5 setup3.py -q bdist_wininst --target-version=3.5 --skip-build --plat-name=win-amd64 -py -3.6-32 setup3.py -q bdist_wininst --skip-build -py -3.6 setup3.py -q bdist_wininst --skip-build +@if exist build\bdist.win32 rd /s/q build\bdist.win32 & @if exist build\bdist.amd64 rd /s/q build\bdist.amd64 +py -3.6-32 setup3.py -q bdist_wininst --target-version=3.6 --skip-build +@if exist build\bdist.win32 rd /s/q build\bdist.win32 & @if exist build\bdist.amd64 rd /s/q build\bdist.amd64 +py -3.6 setup3.py -q bdist_wininst --target-version=3.6 --skip-build --plat-name=win-amd64 rem And nuke the dirs one more time :) if exist build/bdist.win32/. rm -rf build/bdist.win32 diff -r 06de33e3604d -r 77206efaed5e pywin32_postinstall.py --- a/pywin32_postinstall.py Sun Jan 10 12:34:56 2016 +1100 +++ b/pywin32_postinstall.py Tue Jan 12 10:36:02 2016 +1100 @@ -26,6 +26,13 @@ pass tee_f.flush() +# For some unknown reason, when running under bdist_wininst we will start up +# with sys.stdout as None but stderr is hooked up. This work-around allows +# bdist_wininst to see the output we write and display it at the end of +# the install. +if sys.stdout is None: + sys.stdout = sys.stderr + sys.stderr = Tee(sys.stderr) sys.stdout = Tee(sys.stdout) @@ -448,32 +455,6 @@ except Exception, details: print details - # Check the MFC dll exists - it is doesn't, point them at it - # (I should install it, but its a bit tricky with distutils) - # Unfortunately, this is quite likely on Windows XP and MFC71.dll - if sys.hexversion < 0x2060000: - mfc_dll = "mfc71.dll" - elif sys.hexversion < 0x2070000: - mfc_dll = "mfc90.dll" - elif sys.hexversion < 0x3000000: - mfc_dll = "mfc90u.dll" - else: - mfc_dll = "mfc100u.dll" - try: - # It might be next to pythonwin itself (which is where setup.py - # currently arranges for it to be installed...) - if not os.path.isfile(os.path.join(lib_dir, "pythonwin", mfc_dll)): - win32api.SearchPath(None, mfc_dll) - except win32api.error: - print "*" * 20, "WARNING", "*" * 20 - print "It appears that the MFC DLL '%s' is not installed" % (mfc_dll,) - print "Pythonwin will not work without this DLL, and I haven't had the" - print "time to package it in with the installer." - print - print "You can download this DLL from:" - print "http://starship.python.net/crew/mhammond/win32/" - print "*" * 50 - # importing win32com.client ensures the gen_py dir created - not strictly # necessary to do now, but this makes the installation "complete" try: diff -r 06de33e3604d -r 77206efaed5e setup.py --- a/setup.py Sun Jan 10 12:34:56 2016 +1100 +++ b/setup.py Tue Jan 12 10:36:02 2016 +1100 @@ -1,4 +1,4 @@ -build_id="219.5" # may optionally include a ".{patchno}" suffix. +build_id="220" # may optionally include a ".{patchno}" suffix. # Putting buildno at the top prevents automatic __doc__ assignment, and # I *want* the build number at the top :) __doc__="""This is a distutils setup-script for the pywin32 extensions |