[Python-Dev] Re: Reducing core dependencies for Python on OS X
/distutils nit
Bob Ippolito
bob at redivi.com
Sat Oct 16 17:58:36 CEST 2004
On Oct 16, 2004, at 11:23 AM, Fredrik Lundh wrote:
> Bob Ippolito wrote:
>
>> distutils.util.get_platform() should include sys.version[:3]
>> http://python.org/sf/1035703
>>
>> On a side note, when I was playing with Python 2.4, I noticed that
>> distutils doesn't create build
>> directories that have the major Python version encoded in them, only
>> the operating system
>> information. This doesn't really make much sense, because extensions
>> and bytecode aren't
>> typically compatible between major versions! Nobody commented on
>> this, but I'm willing to write a
>> patch to create build directories with sys.version[:3] in them if it
>> will be accepted...
>
> are you sure about this? the build directories sure have version
> numbers in
> them on Unix and Windows:
I think you're right, I must've been mistaken by the fact that pure
python source files end up in a lib dir not a build dir (I thought it
was reusing pyc files, but those are generated at the installation
location). My bad.
-bob
More information about the Python-Dev
mailing list