[issue14791] setup.py only adds /prefix/lib, not /prefix/lib64

2020-11-07 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.8, Python 3.9 -Python 3.2, Python 3.3 ___ Python tracker ___ ___ Python

[issue14791] setup.py only adds /prefix/lib, not /prefix/lib64

2020-11-06 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: No. setup.py still contains several hardcoded paths with "lib" (e.g. "/usr/local/lib", "/usr/lib/termcap"). There are also some places in setup.py which check both "lib64" and "lib", but such checks can possibly return incorrect results

[issue14791] setup.py only adds /prefix/lib, not /prefix/lib64

2020-11-06 Thread Irit Katriel
Irit Katriel added the comment: Was this resolved by the fix for https://bugs.python.org/issue32059? -- nosy: +iritkatriel ___ Python tracker ___ _

[issue14791] setup.py only adds /prefix/lib, not /prefix/lib64

2012-07-07 Thread Ned Deily
Ned Deily added the comment: Also OS X universal builds have many of the characteristics of a cross-build. In particular, one executable (like the python interpreter) can contain both 32-bit and 64-bit architecture files. So tests for 32-bit vs 64-bit at build time using the running compile

[issue14791] setup.py only adds /prefix/lib, not /prefix/lib64

2012-07-07 Thread Matthias Klose
Matthias Klose added the comment: using sys.maxsize isn't safe for cross builds. it should at least guarded by 'if not cross_compiling'. I still think that the preferred way to get the library dirs is to ask the compiler (patch attached), however this will add "incompatible" library dirs as

[issue14791] setup.py only adds /prefix/lib, not /prefix/lib64

2012-07-07 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +doko ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue14791] setup.py only adds /prefix/lib, not /prefix/lib64

2012-05-14 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue14791] setup.py only adds /prefix/lib, not /prefix/lib64

2012-05-12 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: It would be better to fix issue #1294959 and use os.path.join(sys.prefix, sys.libdir). IIRC some mips architectures need "/usr/lib32", while x32 architecture needs "/usr/libx32". -- nosy: +Arfrever ___

[issue14791] setup.py only adds /prefix/lib, not /prefix/lib64

2012-05-12 Thread Antoine Pitrou
New submission from Antoine Pitrou : setup.py adds /lib to the list of directories where libraries are looked for, but not /lib64. Patch attached. -- components: Build files: setup_lib64.patch keywords: patch messages: 160478 nosy: dmalcolm, pitrou priority: low severity: normal stage: