On 17/10/2015 17:25, Jeff Archer wrote:
I am trying to build Python on windows.  I have gotten the source in
compressed form, Python-3.5.0.tgz.  Attempting to follow PCBuild\readme.txt

Ran the get_externals.bat in the PCBuild folder.  No apparent errors.

Trying to build and getting errors:
1>  abort: there is no Mercurial repository here (.hg not found)
1>C:\Dev.ThirdParty\Python-3.5.0\PCbuild\pythoncore.vcxproj(403,5):
warning MSB3073: The command "hg id -b >
"C:\Dev.ThirdParty\Python-3.5.0\PCbuild\obj\\win32_Debug\pythoncore\hgbranch.txt""
exited with code 255.
1>  abort: there is no Mercurial repository here (.hg not found)
1>C:\Dev.ThirdParty\Python-3.5.0\PCbuild\pythoncore.vcxproj(404,5):
warning MSB3073: The command "hg id -i >
"C:\Dev.ThirdParty\Python-3.5.0\PCbuild\obj\\win32_Debug\pythoncore\hgversion.txt""
exited with code 255.
1>  abort: there is no Mercurial repository here (.hg not found)

Seems like this is indicating that I need to get the source from a
Mercurial repo to be able to built it.

Windows 8.1
Visual Studio 2015

Jeff,

I've just tried to reproduce by downloading the .tgz and running "build -e" from within PCBuild. It successfully builds a python.exe inside the win32/ folder. That project pre-build step (the one which calls hg id) is set to continue on failure so you might see a warning (with a somewhat scary "abort" prefix), but the build should still complete.

Are you seeing a completed build? Or is it failing altogether?

TJG
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to