From: Sakurai Y. <You...@ys...> - 2016-09-20 03:45:46
|
Hello there, Because previous email was pended due to size, I'm resending the patch with less info. Thanks. Best regards, Youhei From: Sakurai Youhei Sent: Tuesday, September 20, 2016 10:51 AM To: 'py2...@li...' <py2...@li...> Subject: Patch to build py2exe with Python 3.5 Hello there, I'd like to share one patch, as attached, which enables to build py2exe with Python 3.5. The points were: 1. Run vcvarsall.bat of VC 14 (VS2015) manually before building py2exe. 2. Append "/DLL" option to link arguments in setup.py. 3. Modify assert condition to recognize new extension suffix (.cp35-win32.pyd) in py2exe/runtime.py. My building test executable seems to work w/o problems at the moment. You can also find outcome of the build using my patch as below. Best regards, Youhei *** C:\Users\sakurai\workspace\py2exe\trunk\py2exe-3>python --version Python 3.5.2 C:\Users\sakurai\workspace\py2exe\trunk\py2exe-3>set INCLUDE= C:\Users\sakurai\workspace\py2exe\trunk\py2exe-3>"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" C:\Users\sakurai\workspace\py2exe\trunk\py2exe-3>set INCLUDE INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE;C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um;C:\Program Files (x86)\Windows Kits\8.1\include\\shared;C:\Program Files (x86)\Windows Kits\8.1\include\\um;C:\Program Files (x86)\Windows Kits\8.1\include\\winrt; C:\Users\sakurai\workspace\py2exe\trunk\py2exe-3>C:\Python35\python.exe setup.py build running build running build_py C:\Users\sakurai\workspace\py2exe\trunk\py2exe-3>echo %ERRORLEVEL% 0 ________________________________ CONFIDENTIALITY NOTICE This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify us by email to in...@ys... with a copy of this message. You must not, directly or indirectly, use, disclose, distribute, print or copy any part of this message if you are not the intended recipient. Y Soft and any of its subsidiaries each reserves the right to monitor all e-mail communications through its networks. Y Soft is neither liable for the proper, complete transmission of the information contained in this communication nor any delay in its receipt. This email was scanned for the presence of computer viruses. In the unfortunate event of infection Y Soft does not accept liability. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them. |