doceme / py-spidev

MIT License
461 stars 203 forks source link

Update to setuptools, fix pypi formatting #94

Closed Gadgetoid closed 4 years ago

Gadgetoid commented 4 years ago

I'm anticipating a release to include the recent stability fixes, and figured I'd get some QOL improvements in quickly.

This change makes a couple of - hopefully minor since I don't know what the process for shipping this library as a Raspbian .deb is - tweaks to setup.py.

Specifically I have replaced the deprecated distutils.core with setuptools since this permits commands like devel which are super useful for development and testing.

Additionally I have added the long_description_content_type field, which fixes the formatting of the markdown README on PyPi. See this test upload: https://test.pypi.org/project/spidev-test/

Contrast to the page without this fix: https://test.pypi.org/project/spidev/

Gadgetoid commented 4 years ago

@doceme both this and #90 would be nice to make the next release.

doceme commented 4 years ago

Thanks @Gadgetoid, both are now merged.