aboutsummaryrefslogtreecommitdiff
path: root/pw_bloat
diff options
context:
space:
mode:
authorAnthony DiGirolamo <tonymd@google.com>2023-07-26 17:18:14 +0000
committerCQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-07-26 17:18:14 +0000
commite1b56dbcd84a836da16f1b34d21edaa157782983 (patch)
tree2a2d60eebccedb9a74f259c8f7a25f377c1014cf /pw_bloat
parent895aaa03a847bca6b5db47f4033ccdd0a671a971 (diff)
downloadpigweed-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_bloat')
-rw-r--r--pw_bloat/py/BUILD.gn1
-rw-r--r--pw_bloat/py/setup.py18
2 files changed, 0 insertions, 19 deletions
diff --git a/pw_bloat/py/BUILD.gn b/pw_bloat/py/BUILD.gn
index 2f75579bf..59327a6bf 100644
--- a/pw_bloat/py/BUILD.gn
+++ b/pw_bloat/py/BUILD.gn
@@ -20,7 +20,6 @@ pw_python_package("py") {
setup = [
"pyproject.toml",
"setup.cfg",
- "setup.py",
]
sources = [
"pw_bloat/__init__.py",
diff --git a/pw_bloat/py/setup.py b/pw_bloat/py/setup.py
deleted file mode 100644
index 7fef9f77f..000000000
--- a/pw_bloat/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_bloat"""
-
-import setuptools # type: ignore
-
-setuptools.setup() # Package definition in setup.cfg