Commit 853f289f authored by Jason Madden's avatar Jason Madden

See if vcbuild.bat can find what it wants on its own.

parent 055b3849
......@@ -24,6 +24,8 @@ from distutils import log # pylint:disable=no-name-in-module
from distutils.errors import DistutilsError # pylint: disable=no-name-in-module,import-error
# Inspired by code from https://github.com/saghul/pyuv
# Note that they as of June 2017, they now use setuptools to build libuv
# See https://github.com/saghul/pyuv/commit/2c398a9fe47deaebbf47f7bd37d9bb0c350656d1#diff-b30741570389940d7935f51cd0c084cb
LIBUV_EMBED = should_embed('libuv')
......@@ -167,7 +169,8 @@ def configure_libuv(_bext, _ext):
if WIN:
prepare_windows_env(env)
libuv_arch = {'32bit': 'x86', '64bit': 'x64'}[platform.architecture()[0]]
system(["cmd", "/E:ON", "/V:ON", "/C", "..\\..\\appveyor\\run_with_env.cmd",
system(["cmd", "/E:ON", "/V:ON", "/C",
#"..\\..\\appveyor\\run_with_env.cmd",
'vcbuild.bat', libuv_arch, 'release'],
cwd=libuv_dir,
env=env,
......
......@@ -109,8 +109,7 @@ goto select-target
if not defined VS90COMNTOOLS goto vc-set-notfound
if not exist "%VS90COMNTOOLS%\..\..\vc\vcvarsall.bat" goto vc-set-notfound
call "%VS90COMNTOOLS%\..\..\vc\vcvarsall.bat" %vs_toolset%
@rem gevent: set to an 2005 instead of 2008 because 2008 generates too new a solution file
set GYP_MSVS_VERSION=2005
set GYP_MSVS_VERSION=2008
echo Using Visual Studio 2008
goto select-target
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment