Skip to content

Bundle this as a Python package? #7

@simonw

Description

@simonw

I love this project so much.

Since you're already being quite ambitious with how you handle deployment, here's an idea I've been bouncing around for a while but haven't committed to trying yet: how about building this as a Python wheel and distributing it via PyPI?

I'd love to be able to run pip install sqlite-lines-extension and then do the following:

import sqlite3
import sqlite_lines_extention
con = sqlite3.connect(":memory:")

con.enable_load_extension(True)
con.load_extension(sqlite_lines_extention.path())

Ideally the wheel would have builds for various different architectures all magically bundled together. I've not done this myself but I believe part of the solution is https://github.com/pypa/manylinux

Having an example repo that can build this kind of thing using GitHub Actions would be really cool. I'd love to be able to pip install spatialite-extention and suchlike too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions