tensorflow / tensorflow/models

Time to use `build` from `setuptools` instead of `distutils`?

Open
#11,194 0 comments 0 reactions 1 assignee View on GitHub

@laxmareddyp is already working on this.

Since Apr 22, 2024.

models:research
Dominant language
Python
Stars
77.7k
Forks
44.8k
PR merge metrics
No merged PRs in 30d

Description

The following feature in setuptools has been deprecated for almost 2 years and is about to be removed:

https://github.com/pypa/setuptools/blob/1ed759173983656734c3606e9c97a348895e5e0c/setuptools/command/build.py#L13-L27

It might be a good idea to import build directly from setuptools for the following code:

https://github.com/tensorflow/models/blob/1a4a5bfd770f4ab925c075be5b3bba48fb2920c9/research/seq_flow_lite/demo/colab/setup.py#L24-L27

(build is available directly from setuptools, starting on version v62.4.0)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.