tensorflow / model-card-toolkit

A toolkit that streamlines and automates the generation of model cards
https://www.tensorflow.org/responsible_ai/model_card_toolkit/guide
Apache License 2.0
423 stars 84 forks source link

Migrate setup.py from distutils to setuptools #269

Closed codesue closed 1 year ago

codesue commented 1 year ago

distutils will be removed in Python 3.12 and there's an existing TODO to remove it from MCT's setup.py.

Refer to PEP 632 for migration advice.

BhavyaBh289 commented 1 year ago

is this still active ?

codesue commented 1 year ago

Hi @BhavyaBh289, after looking into this some more, it seems there isn't a good setuptools alternative yet for distutils.command.build, and we can continue to use distutils through setuptools' bundled copy after it's removed from the standard library. See https://github.com/pypa/setuptools/issues/2928. This is still up for grabs, but the only work required now is to delete the TODO comment.