Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #87152

Re: MSVC2013

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: MSVC2013
Date 2015-03-08 18:50 +0000
References <7ec7c58b-f021-4a21-bd26-a2c9030c6ba9@googlegroups.com> <mailman.147.1425746125.21433.python-list@python.org> <51172c2b-5262-4d09-bee7-06ca3fdbddf4@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.171.1425840662.21433.python-list@python.org> (permalink)

Show all headers | View raw


On 08/03/2015 17:57, polyvertex@gmail.com wrote:
> On Saturday, March 7, 2015 at 5:36:07 PM UTC+1, Mark Lawrence wrote:
>> On 07/03/2015 15:55, polyvertex@gmail.com wrote:
>>> Out of curiosity, is there any plan to use a more recent version of Visual Studio (i.e.: 2013) to compile the official Python3 distribution for Windows?
>>> Is it in discussion? Maybe waiting for the 2015 version?
>>>
>>> I'm working on a C++ software that embeds Python3, currently compiled with MSVC2010 and would like to upgrade to MSVC2013, but it appears that, while being feasible, Python3 won't compile out of the box with that configuration. I would like to avoid that hassle if possible...
>>>
>>> Cheers,
>>>
>>
>> I'm building Python 3.5 every day with 2013 no problems at all, thanks
>> mainly to the work on the build system by Zach Ware and Steve Dower.  If
>> 2015 is stable that will be used for 3.5 else we'll stick with 2013.
>>
>> --
>> My fellow Pythonistas, ask not what our language can do for you, ask
>> what you can do for our language.
>>
>> Mark Lawrence
>
> For the record, I successfully compiled v3.5.0a1 (the latest 3.5 candidate as of today) with a fresh install of msvc2013. I ran the PCbuild/get_externals.bat script manually then opened the pcbuild.sln to launch a "Release/x64" build.
>
> Note that I had to launch the global build twice since the first one failed due to <tcl.h> header not found during _tkinter build. Re-launching the global build without modifying any setting/property just did the job flawlessly.
>

http://bugs.python.org/issue23452

> As a quick test, I copied the built binaries (python.exe, .dll and .pyd files) in a new directory, as well as the content of the Lib folder. Then I started an interpreter session and typed some random imports. It all worked like a charm.
>
> Thank you for your answers.
>

No problem :)

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

MSVC2013 polyvertex@gmail.com - 2015-03-07 07:55 -0800
  Re: MSVC2013 Chris Angelico <rosuav@gmail.com> - 2015-03-08 03:25 +1100
  Re: MSVC2013 Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-03-07 16:35 +0000
    Re: MSVC2013 polyvertex@gmail.com - 2015-03-08 10:57 -0700
      Re: MSVC2013 Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-03-08 18:50 +0000
        Re: MSVC2013 polyvertex@gmail.com - 2015-03-11 14:59 -0700
          Re: MSVC2013 Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-03-11 23:02 +0000

csiph-web