On 19-03-2010 22:13, Steve Borho wrote: > On Fri, Mar 19, 2010 at 8:00 AM, Sune Foldager <sune.folda...@me.com> wrote: >> Trying to build Mercurial using the Win 7 SDK... it doesn't work too well: >> >> running build_ext >> building 'mercurial.base85' extension >> error: Unable to find vcvarsall.bat >> >> Note I am _not_ trying to build THG or similar with thg-winbuild; just >> Mercurial. I assumed I could also use the SDK for that. It's not a big >> problem as I can always install the full Visual Studio if need be... but >> need shouldn't be, I suppose? > > You need to run setup.py from an SDK env shell.
Did that, but setup.py generally finds its own path; with VS 2008 I never run it from a shell where the compiler is in path. > And you also need to set DISTUTILS_USE_SDK=1 Didn't do that, thanks! Now that you mention it, I have stumbled across this setting before a long time ago. Sune :) ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Tortoisehg-develop mailing list Tortoisehg-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop