From 419c06867696444439116865d71599cb70eb4d66 Mon Sep 17 00:00:00 2001 From: Hong Minhee Date: Fri, 21 Feb 2014 00:03:43 +0900 Subject: [PATCH] vc9compiler already joins ../../VC --- setup.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/setup.py b/setup.py index ec38a57b..0892f27b 100644 --- a/setup.py +++ b/setup.py @@ -50,16 +50,9 @@ except KeyError: distutils.log.warn('You probably need Visual Studio 2010 (10.0) ' 'or higher') - # vsvarsall.bat might not exist in %VS...CMNTOOLS% directory - if not os.path.isfile(os.path.join(os.environ[vscomntools_env], - 'vcvarsall.bat')): - os.environ[vscomntools_env] = os.path.join( - os.environ[vscomntools_env], - '..', '..', 'VC' - ) distutils.log.warn('%%%s%%=%s', vscomntools_env, - os.environ[vscomntools_env]) + os.environ.get(vscomntools_env, '')) # Workaround http://bugs.python.org/issue4431 under Python <= 2.6 if sys.version_info < (2, 7): def spawn(self, cmd):