Skip to content

Add more helper libraries to the extension modules page #355

Closed as not planned

Description

@ncoghlan

Rather than creating multiple issues, I've expanded this one to include a checklist for popular extension module helpers that we don't currently mention:

(We may not go into as much detail for these as we do the big three of SWIG, cffi, and Cython, but they're all worth mentioning, especially in combination with #359 to cover milksnake as a meta build system that works with current versions of pip)


One of the neat features of sip specifically is that it can (does?) target the stable ABI in Python 3 at code generation time, with operations that require access to the full CPython API delegated to the runtime sip support module. As a result, it's possible to use it to ship version-independent CPython extension modules that just need the corresponding version of the sip runtime library, rather than having to recompile your own extensions for every new CPython release.

Activity

  1. added
    type: enhancement
    on Jul 28, 2017
  2. theacodes commented on Jul 28, 2017

    @theacodes
    Member

    The packaging binary extension page needs a lot of love right now: https://packaging.python.org/guides/packaging-binary-extensions/

    I would love for someone to volunteer to write this as I do not really know anything about binary extensions. I will happy to help with layout, review, and editorial issues. They could even write it in Google Docs and I will transfer it to RST.

    It likely needs to be split into multiple items, for example:

    1. An overview of binary extensions.
    2. Creating binary extensions using the CPython API.
    3. Creating binary extensions using Cython.
    4. Creating binary extensions using SIP.
      etc.
  3. theacodes commented on Jul 28, 2017

    @theacodes
    Member

    @ncoghlan can you create a help wanted label for me?

  4. theacodes commented on Jul 28, 2017

    @theacodes
    Member

    Thanks. :)

  5. pradyunsg commented on Aug 25, 2017

    @pradyunsg
    Member

    Is anyone working on this right now?

    If not, I think I can come around to writing this sometime in next month or two. :)

  6. theacodes commented on Aug 25, 2017

    @theacodes
    Member
  7. changed the title [-]Add SIP to the extension modules page[/-] [+]Add more helper libraries to the extension modules page[/+] on Feb 21, 2018
  8. rgommers commented on Nov 10, 2026

    @rgommers
    Contributor

    This issue is outdated, we may want to overhaul some existing content, but SIP/Boost.Python/PyCXX shouldn't be added anymore, there are more modern alternatives now. I'll close this issue as not planned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedtype: enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions