Skip to content

Recommended way to distribute python3 and micropython compatible packages on PyPI #3669

Closed
@laurensvalk

Description

@laurensvalk

What is the recommended way to distribute PyPI packages that are suitable for both python3 and micropython?

I can create a micropython package using these steps or a python3 package using these steps, but as indicated on the first link, this produces slightly different packages, which are compatible with either pip3 or upip (but not both).

Is there a correct way to publish both under the same PyPI project, so users can run pip3 or upip depending on which one they need? (In essence, like pip3 vs. pip.)

Or should I create two separate projects on PyPI, named 'example' and 'micropython-example', each with the same code, except for a different setup.py?

Related: #413

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions