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: $ python setup.py build building 'sgmlop' extension gcc -g -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include/python2.1 -c sgmlop.c -o build/temp.linux-i686-2.1/sgmlop.o creating build/lib.linux-i686-2.1 gcc -shared build/temp.linux-i686-2.1/sgmlop.o -o build/lib.linux-i686-2.1/sgmlop.so $ python2.3 setup.py build building 'sgmlop' extension creating build/temp.linux-i686-2.3 gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include/python2.3 -c sgmlop.c -o build/temp.linux-i686-2.3/sgmlop.o creating build/lib.linux-i686-2.3 gcc -shared build/temp.linux-i686-2.3/sgmlop.o -o build/lib.linux-i686-2.3/sgmlop.so $ python1.5 setup.py build building 'sgmlop' extension creating build/temp.linux-i686-1.5 gcc -g -O2 -fPIC -I/usr/include/python1.5 -c sgmlop.c -o build/temp.linux-i686-1.5/sgmlop.o creating build/lib.linux-i686-1.5 gcc -shared build/temp.linux-i686-1.5/sgmlop.o -o build/lib.linux-i686-1.5/sgmlop.so > python setup.py build building 'sgmlop' extension creating build\temp.win32-2.3 creating build\temp.win32-2.3\Release C:\VisualStudio\VC98\BIN\cl.exe /c /nologo /Ox /MD /W3 /GX /DNDEBUG -IC:\python2 3\include -IC:\python23\PC /Tcsgmlop.c /Fobuild\temp.win32-2.3\Release\sgmlop.obj sgmlop.c creating build\lib.win32-2.3 C:\VisualStudio\VC98\BIN\link.exe /DLL /nologo /INCREMENTAL:NO /LIBPATH:C:\pytho n23\libs /LIBPATH:C:\python23\PCBuild /EXPORT:initsgmlop build\temp.win32-2.3\Re lease\sgmlop.obj /OUT:build\lib.win32-2.3\sgmlop.pyd /IMPLIB:build\temp.win32-2. 3\Release\sgmlop.lib (and so on) </F>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4