[Python-checkins] python/dist/src/Lib/plat-mac pimp.py,1.7,1.8
Thomas Heller
theller@python.net
12 Feb 2003 17:28:54 +0100
- Previous message: [Python-checkins] python/dist/src/Lib/plat-mac pimp.py,1.7,1.8
- Next message: [Python-checkins] python/dist/src/Lib/plat-mac aepack.py,1.3,1.4 aetypes.py,1.2,1.3 bgenlocations.py,1.2,1.3 buildtools.py,1.4,1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
jackjansen@users.sourceforge.net writes:
> Update of /cvsroot/python/python/dist/src/Lib/plat-mac
> In directory sc8-pr-cvs1:/tmp/cvs-serv29687
>> Modified Files:
> pimp.py
> Log Message:
> - Better way to find site-packages
> ! for _p in sys.path:
> ! if _p[-13:] == 'site-packages':
> ! DEFAULT_INSTALLDIR=_p
> ! break
> ! else:
> ! DEFAULT_INSTALLDIR=sys.prefix # Have to put things somewhere
Doesn't distutils expose this directory via sysconfig.get_python_lib() ?
Thomas
- Previous message: [Python-checkins] python/dist/src/Lib/plat-mac pimp.py,1.7,1.8
- Next message: [Python-checkins] python/dist/src/Lib/plat-mac aepack.py,1.3,1.4 aetypes.py,1.2,1.3 bgenlocations.py,1.2,1.3 buildtools.py,1.4,1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]