You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In an effort to avoid the full-blown installation of Visual Studio, non-standard locations of the VC compiler toolkit should be supported. This has a number of implications/requirements:
Which files would be needed from the Visual Studio install directory? Is just the VC directory is not enough? Or does it require any other files (eg. from IDE or Common7)
VC/vcvarsall.bat does not take into account its own parent directory but instead uses absolute paths when it updates PATH, INCLUDE, etc. We might need to update the added paths to point to the correct location of the VC binaries, eg. in MsvcInstallation.environ():
# Post-process paths in the environment. If this MsvcInstallation# represents a copied version the VC directory, the paths created# by vcvarsall are incorrect as it does not create them based on# the batch file's parent direcory but using absolute paths instead.replaces= [
(r'C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC', os.path.join(self.directory, 'VC'))
]
forkey, valueinenviron.items():
ifkeynotinos.environorvalue!=os.environ[key]:
forref, substinreplaces:
offset=0whileTrue:
index=value.lower().find(ref.lower(), offset)
ifindex<0: breakvalue=value[:index] +subst+value[index+len(ref):]
offset=index+len(subst)
environ[key] =value
The text was updated successfully, but these errors were encountered:
In an effort to avoid the full-blown installation of Visual Studio, non-standard locations of the VC compiler toolkit should be supported. This has a number of implications/requirements:
VC
directory is not enough? Or does it require any other files (eg. fromIDE
orCommon7
)VC/vcvarsall.bat
does not take into account its own parent directory but instead uses absolute paths when it updatesPATH
,INCLUDE
, etc. We might need to update the added paths to point to the correct location of the VC binaries, eg. inMsvcInstallation.environ()
:The text was updated successfully, but these errors were encountered: