[Distutils] MSVC7 directories

Thomas Heller theller at python.net
Thu Feb 5 16:29:21 EST 2004


"Mark Hammond" <mhammond at skippinet.com.au> writes:

>> I would find it strange if a naive setup script would use different
>> include and lib directories depending on whether win32all is installed
>> or not.
>
> I agree.
>
>> IIRC, distutils need to read the registry was the reason that the
>> _winreg module was added to the Python core.
>>
>> Maybe its time to add a distutils_util compiled extension for windows
>> specific features (do I need a smiley here or not - not sure) ?
>
> I think that exposing SHGetSpecialFolderPath() would be a valuable addition
> to the Python runtime, and I guess that inside distutils would be a
> reasonable place for it.

It is already in wininst.exe, as you probably know, but unusable from
the 'outside'.  Same for code to create shortcuts, do you think that
would be useful as well?

Thomas




More information about the Distutils-SIG mailing list