Ken, I have been successful with building Python on Windows by downloading Python-3.5.0.tgz. Expand it and follow the instructions in Python-3.5.0\PCBuild\readme.txt. Basically, run get_externals.bat, then use build.bat. I have not however been successful building with VS2015 IDE. Can't remember the specific issues off-hand but since I was successful using the batch files, I didn't worry about it. With this build of Python I have gotten rudimentary extensions working with Boost.Python and straight C code. Had to build Boost against this build of Python to make that work.
jeff *From: *Ken Brooks > *Sent: *Tuesday, October 27, 2015 5:09 > *To: *python-list@python.org > *Cc: *Ken Brooks > *Subject: *Building a python extension on Windows > > > > > > I checked out a copy of svn.python.org/projects/stackless/trunk because > it seems to have a good sample project (PC/example_nt) for building a > Python extension on Windows. That directory has a Microsoft Visual C++ > solution file which can be updated to my Visual C++ version (8, of 2005). > > First I tried cd-ing to that directory, as they recommend, and saying > "python setup.py install". The result? A very common complaint, "Unable to > find vcvarsall.bat". A search using Windows would suggest that that file > doesn't exist anywhere on my system. > > So I followed the VC++ build instructions, and copied the example_nt > directory up one level in the tree before building it. But when I actually > try to build the solution it wants to look in the PCBuild directory for > python27.lib, which isn't there. Nor can I find that library anywhere else. > > What gives? Is this project somehow hopelessly out of date? And more to > the point, can someone direct me to a nice, fresh example project that will > build a little Python extension on Windows? > > Thanks, > > Ken > > > > > > -- > https://mail.python.org/mailman/listinfo/python-list > >
-- https://mail.python.org/mailman/listinfo/python-list