[Bug 5400] New: Build using setup.py fails with Visual C++ compiler for Python 2.7; "pip install" works
bugzilla at mercurial-scm.org
bugzilla at mercurial-scm.org
Sun Oct 9 13:58:33 UTC 2016
https://bz.mercurial-scm.org/show_bug.cgi?id=5400
Bug ID: 5400
Summary: Build using setup.py fails with Visual C++ compiler
for Python 2.7; "pip install" works
Product: Mercurial
Version: default branch
Hardware: All
OS: Windows
Status: UNCONFIRMED
Severity: bug
Priority: wish
Component: packaging
Assignee: bugzilla at selenic.com
Reporter: gabor.stefanik at nng.com
CC: durin42 at gmail.com, mercurial-devel at selenic.com
On Windows, Visual C++ compiler for Python 2.7 is the recommended compiler to
use for building the C parts of Python modules. With this compiler, "pip
install mercurial" or "pip install ./hg-clone" works, but not "python setup.py
build", as the latter tries to use the old distutils package, which can't find
the compiler.
Setting FORCE_SETUPTOOLS=1 helps. We should probably default to setuptools, at
least for Windows.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list