Skip to content

Commit

Permalink
vc9compiler already joins ../../VC
Browse files Browse the repository at this point in the history
  • Loading branch information
dahlia committed Feb 20, 2014
1 parent 82b75ca commit 419c068
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 419c068

Please sign in to comment.