homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author matejcik
Recipients Arfrever, BreamoreBoy, akitada, andybuckley, barry, belopolsky, catalin.iacob, christian.heimes, doko, eric.araujo, ivazquez, jafo, jcea, lemburg, matejcik, piotr.dobrogost, pitrou, tarek
Date 2017年01月10日.15:31:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1484062280.18.0.0274329406369.issue1294959@psf.upfronthosting.co.za>
In-reply-to
Content
at this again, when porting SUSE patches to 3.6.0 :) ( :( )
Last time there was a discussion, Barry suggested using sysconfig variables to find the proper libdir. Trouble is, to fill out the variables, sysconfig itself uses two sources:
a) compiled-in information from the binary, and
b) Makefile items
Makefile seems an obvious location for storing the libdir info, except, well, to FIND the makefile in the first place, we are using sysconfig variables.... you see where this is heading.
So, given that sysconfig is the correct Primary Source for libdir info, we have three options to get it there:
1. compile it into the binary. sys.implementation.platlibdir seems as good as any -- i'm not completely convinced that this is a property of the _implementation_, but, well.
2. modify sysconfig.py at build time
3. guess it from the environment
And options (2) and (3) seem wrong, so i'm going with (1) for now
History
Date User Action Args
2017年01月10日 15:31:20matejciksetrecipients: + matejcik, lemburg, barry, doko, jafo, jcea, belopolsky, pitrou, christian.heimes, tarek, ivazquez, eric.araujo, Arfrever, akitada, andybuckley, BreamoreBoy, catalin.iacob, piotr.dobrogost
2017年01月10日 15:31:20matejciksetmessageid: <1484062280.18.0.0274329406369.issue1294959@psf.upfronthosting.co.za>
2017年01月10日 15:31:20matejciklinkissue1294959 messages
2017年01月10日 15:31:19matejcikcreate

AltStyle によって変換されたページ (->オリジナル) /