New submission from Steve Dower <steve.do...@python.org>:

_msvccompiler reads the INCLUDE and LIB environment variables when building and 
adds each directory to the command line. However, if any of these end with 
os.sep (specifically, '\'), then it will escape the quoting and break the 
entire command.

We should rstrip(os.sep) on each item from this list.

----------
assignee: steve.dower
components: Distutils, Windows
messages: 322361
nosy: dstufft, eric.araujo, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: distutils._msvccompiler should trim INCLUDE/LIB directories
versions: Python 3.6, Python 3.7, Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34225>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to