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


Groups > comp.lang.python > #87147

Re: MSVC2013

X-Received by 10.182.18.102 with SMTP id v6mr24502350obd.11.1425837466288; Sun, 08 Mar 2015 10:57:46 -0700 (PDT)
X-Received by 10.140.18.213 with SMTP id 79mr361431qgf.38.1425837466160; Sun, 08 Mar 2015 10:57:46 -0700 (PDT)
Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!hl2no7281212igb.0!news-out.google.com!db6ni44602igc.0!nntp.google.com!hl2no5118514igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.python
Date Sun, 8 Mar 2015 10:57:45 -0700 (PDT)
In-Reply-To <mailman.147.1425746125.21433.python-list@python.org>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=91.68.44.117; posting-account=inv8rAoAAAALz2E-mHFhBQB3edfJX19-
NNTP-Posting-Host 91.68.44.117
References <7ec7c58b-f021-4a21-bd26-a2c9030c6ba9@googlegroups.com> <mailman.147.1425746125.21433.python-list@python.org>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <51172c2b-5262-4d09-bee7-06ca3fdbddf4@googlegroups.com> (permalink)
Subject Re: MSVC2013
From polyvertex@gmail.com
Injection-Date Sun, 08 Mar 2015 17:57:46 +0000
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
Xref csiph.com comp.lang.python:87147

Show key headers only | View raw


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.

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.

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