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 hanbaj
Recipients Ateik Al-Zehla, Matt.Hickford, Tod Haren, dstufft, eric.araujo, hanbaj, marcelotduarte, paul.moore, steve.dower, tim.golden, zach.ware
Date 2016-03-21.23:44:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1458603842.21.0.886093082439.issue25251@psf.upfronthosting.co.za>
In-reply-to
Content
I just ran across this bug in Python 3.5.1 while trying to build pycrypto using MinGW. I patched the cygwincompiler.py with the attached patch.diff file, and that got me part of the way there.

With the additions made by patch.diff, the MinGW linker then looked for vcruntime140.dll but it could not find it.

With the Python 3.5.1 installation, vcruntime140.dll is located in ./Python35-32 directory, but it is not included in the library directories being passed into MinGW.

To fix this, I had to edit ./Lib/distutils/command/build_ext.py and add to line 141:

    self.library_dirs.append(os.path.join(sys.exec_prefix))

This adds the root of the Python35-32 directory to the library paths used by MinGW.
History
Date User Action Args
2016-03-21 23:44:02hanbajsetrecipients: + hanbaj, paul.moore, tim.golden, eric.araujo, Matt.Hickford, zach.ware, steve.dower, dstufft, Ateik Al-Zehla, Tod Haren, marcelotduarte
2016-03-21 23:44:02hanbajsetmessageid: <1458603842.21.0.886093082439.issue25251@psf.upfronthosting.co.za>
2016-03-21 23:44:02hanbajlinkissue25251 messages
2016-03-21 23:44:02hanbajcreate