Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix pyproject.toml packages to match setup.py #132

Merged
merged 1 commit into from
Mar 25, 2024

Conversation

makermelissa
Copy link
Contributor

I noticed the new split packages were not being installed. It's because I forgot we have pyproject.toml to update now too.

@makermelissa makermelissa requested a review from a team March 25, 2024 22:58
@makermelissa makermelissa merged commit c599540 into adafruit:main Mar 25, 2024
1 check passed
@dhalbert
Copy link
Contributor

Do you need setup.py at all anymore? In our other libraries we just have pyproject.toml. Or is that to support older versions of Python?

@makermelissa
Copy link
Contributor Author

I'm not sure. Currently we're trying to support python.3.7 and up. A quick search appears that using pyproject.toml only should be fine. Do you know if that's the case? Removing it would make maintaining things easier.

@dhalbert
Copy link
Contributor

Yes, websearching brings up several places that say PyPA supports pyproject.toml on python 3.7 and up.

@makermelissa
Copy link
Contributor Author

makermelissa commented Mar 26, 2024

Awesome. I'll go ahead and remove it from any of the python projects that have been updated (this, Blinka, and platformdetect I believe). Looks like Blinka may need to be converted still and PlatformDetect already had setup.py removed...

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