Skip to content

Commit

Permalink
In _msvccompiler.MSVCCompiler.spawn, use correct capitalization for P…
Browse files Browse the repository at this point in the history
…ATH environment variable. Fixes failing test and fixes pypa/setuptools#2257.
  • Loading branch information
jaraco committed Aug 2, 2020
1 parent 0bb6c6b commit 616e129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distutils/_msvccompiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ def link(self,
log.debug("skipping %s (up-to-date)", output_filename)

def spawn(self, cmd):
env = dict(os.environ, path=self._paths)
env = dict(os.environ, PATH=self._paths)
return super().spawn(cmd, env=env)

# -- Miscellaneous methods -----------------------------------------
Expand Down

0 comments on commit 616e129

Please sign in to comment.