Skip to content

Add PEP 621 as a source for modules.#52

Merged
arkq merged 5 commits intoarkq:masterfrom
tomhalstead:add_pep621
Jun 30, 2022
Merged

Add PEP 621 as a source for modules.#52
arkq merged 5 commits intoarkq:masterfrom
tomhalstead:add_pep621

Conversation

@tomhalstead
Copy link

This adds support for reading project name, dependencies, and extras using PEP 621 metadata in pyproject.toml. Setuptools added support in v61.0.0, many other pypa build tools have supported it for a while (flit, hatch, pdm, enscons that I know of), and poetry will (eventually) support it in v2.

I based the additions and tests on the existing ones for poetry, since they're pretty similar. Hopefully I didn't miss anything, but I'm happy to make adjustments if needed/desired.

Copy link
Owner

@arkq arkq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you also add information to the README that dependencies are read from project section of pyproject.toml (in a similar way poetry is mentioned)? Also, please bump version to 1.6.0 (github actions will release new package after merging to master).

@arkq arkq merged commit c43dc96 into arkq:master Jun 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants