ericvsmith / dataclasses

Apache License 2.0
587 stars 53 forks source link

Use setuptools declarative configuration #160

Closed jdufresne closed 2 years ago

jdufresne commented 4 years ago

Avoids mixing logic and configuration. The configuration is now easily parsable by 3rd party tools.

https://setuptools.readthedocs.io/en/latest/setuptools.html#configuring-setup-using-setup-cfg-files

ericvsmith commented 4 years ago

What versions of setuptools does this target? Since this backport is only for python 3.6, I'm not sure it's worth the churn to change anything.

jdufresne commented 4 years ago

This feature has been available since setuptools 30.3.0, released 2016-12-08.