third_party.pigweed.src/pw_doctor/py/pyproject.toml
Anthony DiGirolamo d14a0eef62 python: setup.py -> setup.cfg
Move all Python package definitions into setup.cfg files.

A stub setup.py file remains to support `pip install --editable` it
only runs `setuptools.setup()`. The package definition is pulled from
the setup.cfg.

Each pyproject.toml file is required to specify the build system for
the given python package. In Pigweed's case so far it always specifies
Setuptools.

See this page for details:
https://setuptools.readthedocs.io/en/latest/build_meta.html?highlight=pyproject.toml#how-to-use-it

Change-Id: Ieb52ffc46b34ff1693cbfe9b95996cf9add644d1
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/54560
Pigweed-Auto-Submit: Anthony DiGirolamo <tonymd@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Reviewed-by: Wyatt Hepler <hepler@google.com>
2021-08-19 21:00:28 +00:00

17 lines
674 B
TOML

# Copyright 2021 The Pigweed Authors
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy of
# the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations under
# the License.
[build-system]
requires = ['setuptools', 'wheel']
build-backend = 'setuptools.build_meta'