Skip to content

Expand section on packaging compiled extensions :) #422

Open
@sneakers-the-rat

Description

@sneakers-the-rat

Creating an issue to check interest/feasibility/etc. in expanding the section on packaging with compiled extensions!

There are a bunch of moving pieces here, and I don't think we can quite arrive at a single "best practices" because of the amount of variability inherent in the problem, but I think we can get a nice starting point and compile resources for further reading.

Sketching a few of the pieces that would need to be covered:

  • CD: building for multiple architectures/versions, releasing from CI/CD
  • Config: setting up pyproject.toml and accessory scripts for building
  • Tooling: how a sample of package managers handle extension modules
  • Frameworks: e.g. Cython, pyo3, etc.
  • Integration with other build systems like cmake, meson, etc.
  • Typing: type stub files and ux when exposing compiled modules
  • Docs: documenting build process, the code itself, and making contribution accessible

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions