Skip to content

Commit

Permalink
Specify the build-system in pyproject.toml (#5531)
Browse files Browse the repository at this point in the history
### Description

Specify setuptools in the build-system section in pyproject.toml. So
that setuptools gets installed when it is not in the environment when
doing local install.

### Motivation and Context

Fixes #4878

Signed-off-by: Justin Chu <justinchu@microsoft.com>
  • Loading branch information
justinchuby committed Aug 27, 2023
1 parent c77397e commit b8482d7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[build-system]
requires = ["setuptools>=61.0.0"]
build-backend = "setuptools.build_meta"

[tool.mypy]
follow_imports = "silent"
strict_optional = true
Expand Down

0 comments on commit b8482d7

Please sign in to comment.