adafruit / Adafruit_Blinka_Displayio

Displayio for Blinka
MIT License
14 stars 20 forks source link

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

Closed makermelissa closed 6 months ago

makermelissa commented 6 months ago

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

dhalbert commented 6 months ago

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 commented 6 months ago

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 commented 6 months ago

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

makermelissa commented 6 months ago

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...