[Distutils] MSVC7 directories

Robin Becker robin at jessikat.fsnet.co.uk
Mon Jan 26 04:02:58 EST 2004


In article <075401c3e39c$34d84d60$2c00a8c0 at eden>, Mark Hammond
<mhammond at skippinet.com.au> writes
>Just incase it slips under the radar, I have opened a bug regarding MSVC7
>directories.  Specifically, changes I make to the directories in the MSVC7
>GUI are not seen by distutils.  All the details, and a patch, is in the bug:
>
>http://www.python.org/sf/883969
>[ 883969 ] distutils doesn't see user-directories set via VisStudio 7.1
>
>Any comments appreciated,
>
>Thanks,
>
>Mark
Always seemed a bit daft to do this implicitly from the IDE (eg when I
set things up for stackless my ordinary stuff seems to see the wrong
paths). There is special code in there about version >=7 though.

        if self.__version >= 7:
            key = (r"%s\%0.1f\VC\VC_OBJECTS_PLATFORM_INFO\Win32\Director
ies"
                   % (self.__root, self.__version))
        else:
            key = (r"%s\6.0\Build System\Components\Platforms"
                   r"\Win32 (%s)\Directories" % (self.__root, platform))


-- 
Robin Becker



More information about the Distutils-SIG mailing list