diff options
author | Anthony DiGirolamo <tonymd@google.com> | 2023-07-26 17:18:14 +0000 |
---|---|---|
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-07-26 17:18:14 +0000 |
commit | e1b56dbcd84a836da16f1b34d21edaa157782983 (patch) | |
tree | 2a2d60eebccedb9a74f259c8f7a25f377c1014cf /pw_trace | |
parent | 895aaa03a847bca6b5db47f4033ccdd0a671a971 (diff) | |
download | pigweed-e1b56dbcd84a836da16f1b34d21edaa157782983.tar.gz |
python: Remove setup.py files
`setup.py` files are not required for editable installs anymore. This
s the only reason we kept these files around. Running this works
without them now:
pip install --editable pw_build/py
Change-Id: I29e259fddfb0c2e75473db40081fb72814d8925e
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/159472
Reviewed-by: Wyatt Hepler <hepler@google.com>
Commit-Queue: Anthony DiGirolamo <tonymd@google.com>
Diffstat (limited to 'pw_trace')
-rw-r--r-- | pw_trace/py/BUILD.gn | 1 | ||||
-rw-r--r-- | pw_trace/py/setup.py | 18 |
2 files changed, 0 insertions, 19 deletions
diff --git a/pw_trace/py/BUILD.gn b/pw_trace/py/BUILD.gn index dd50814ce..733ad1c10 100644 --- a/pw_trace/py/BUILD.gn +++ b/pw_trace/py/BUILD.gn @@ -20,7 +20,6 @@ pw_python_package("py") { setup = [ "pyproject.toml", "setup.cfg", - "setup.py", ] sources = [ "pw_trace/__init__.py", diff --git a/pw_trace/py/setup.py b/pw_trace/py/setup.py deleted file mode 100644 index 9e3cda1f5..000000000 --- a/pw_trace/py/setup.py +++ /dev/null @@ -1,18 +0,0 @@ -# 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. -"""pw_trace""" - -import setuptools # type: ignore - -setuptools.setup() # Package definition in setup.cfg |