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: bugzi...@selenic.com
          Reporter: gabor.stefa...@nng.com
                CC: duri...@gmail.com, mercurial-de...@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.
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to