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 rpetrov
Recipients barry, bkabrda, eric.araujo, rpetrov, smani, tarek
Date 2013-03-06.22:39:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1362609580.96.0.460558319372.issue16754@psf.upfronthosting.co.za>
In-reply-to
Content
This is issue introduced with implementation of SOABI. Build of standard extensions is protected by following code:
-----
class PyBuildExt(build_ext):

    def __init__(self, dist):
        build_ext.__init__(self, dist)
        self.failed = []

    def build_extensions(self):

        # Detect which modules should be compiled
        old_so = self.compiler.shared_lib_extension
        # Workaround PEP 3149 stuff
        self.compiler.shared_lib_extension = os.environ.get("SO", ".so")
        try:
            missing = self.detect_modules()
        finally:
            self.compiler.shared_lib_extension = old_so
....
------

I think that PEP 3149 is not  accurate . For historical reasons (backward compatibility) SO must remain same as OS specific suffix and and new variable is required for python specific suffix.
History
Date User Action Args
2013-03-06 22:39:41rpetrovsetrecipients: + rpetrov, barry, tarek, eric.araujo, bkabrda, smani
2013-03-06 22:39:40rpetrovsetmessageid: <1362609580.96.0.460558319372.issue16754@psf.upfronthosting.co.za>
2013-03-06 22:39:40rpetrovlinkissue16754 messages
2013-03-06 22:39:40rpetrovcreate