GeospatialPython / pyshp

This library reads and writes ESRI Shapefiles in pure Python.
MIT License
1.09k stars 259 forks source link

Convert setup.py to declarative configuration setup.cfg file #232

Closed mwtoews closed 2 years ago

mwtoews commented 2 years ago

Refer to setuptools' declarative configuration page for moving the static metadata into setup.cfg.

A few other notes:

karimbahgat commented 2 years ago

This looks great and thorough! Takes care of some nuisances i've had when publishing in the past, such as bumping the version in multiple places. It's good with some help in order to catch up with the latest publishing conventions, very much appreciated.

karimbahgat commented 2 years ago

Only thing, i see you removed sdist and wheel flags in the build command, does this mean they are on by default? Ie will this still create wheels?

mwtoews commented 2 years ago

Yup, the default behavior (as described by the docs) are to build both sdist and wheel outputs, as confirmed by the last message.