mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-08 16:41:00 +00:00
Fix error path in platform name detection.
This commit is contained in:
parent
727f318344
commit
b669d34073
1 changed files with 1 additions and 1 deletions
2
setup.py
2
setup.py
|
|
@ -442,7 +442,7 @@ elif os.name == 'nt':
|
|||
progvar = "%ProgramFiles%"
|
||||
architecture = "x86"
|
||||
else:
|
||||
raise ValueError("Unsupported %PLATNAME% variable value %r" % platform)
|
||||
raise ValueError("Unsupported %%PLATNAME%% variable value %r" % platform)
|
||||
attrs = (os.path.expandvars(progvar), architecture)
|
||||
crtdir = r'%s\Microsoft Visual Studio 9.0\VC\redist\%s\Microsoft.VC90.CRT' % attrs
|
||||
data_files.append(('Microsoft.VC90.CRT', glob.glob(r'%s\*.*' % crtdir)))
|
||||
|
|
|
|||
Loading…
Reference in a new issue