[Distutils] Re: [Python-Dev] PEP 250: Summary of comments

M.-A. Lemburg mal@lemburg.com
Wed, 18 Jul 2001 21:24:01 +0200


"Fred L. Drake, Jr." wrote:
> 
> M.-A. Lemburg writes:
>  > I don't think this is an issue since distutils already knows
>  > that extension package live in .../site-package on Unix.
> 
>   Frankly, I'm not convinced that there's a need for extinstallpath.

Uhm... that's what I implied (or at least tried to imply) with 
my reply ;-)

> Why not define INSTALL_SCHEMES like this:
> 
> if sys.version < "2.2":
>     WINDOWS_SCHEME = {
>         'purelib': '$base',
>         'platlib': '$base',
>         'headers': '$base/Include/$dist_name',
>         'scripts': '$base/Scripts',
>         'data'   : '$base',
>         }
> else:
>     WINDOWS_SCHEME = {
>         'purelib': '$base/Lib/site-packages',
>         'platlib': '$base/Lib/site-packages',
>         'headers': '$base/Include/$dist_name',
>         'scripts': '$base/Scripts',
>         'data'   : '$base',
>         }
> 
> INSTALL_SCHEMES = {
>     'nt': WINDOWS_SCHEME,
>     ...
>     }
> 
>   -Fred
> 
> --
> Fred L. Drake, Jr.  <fdrake at acm.org>
> PythonLabs at Digital Creations
> 
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG@python.org
> http://mail.python.org/mailman/listinfo/distutils-sig

-- 
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
______________________________________________________________________
Consulting & Company:                           http://www.egenix.com/
Python Software:                        http://www.lemburg.com/python/