aboutsummaryrefslogtreecommitdiff
path: root/pw_allocator/py
diff options
context:
space:
mode:
Diffstat (limited to 'pw_allocator/py')
-rw-r--r--pw_allocator/py/BUILD.gn1
-rw-r--r--pw_allocator/py/pw_allocator/heap_viewer.py2
-rw-r--r--pw_allocator/py/setup.py18
3 files changed, 1 insertions, 20 deletions
diff --git a/pw_allocator/py/BUILD.gn b/pw_allocator/py/BUILD.gn
index afd151d00..53b7fd6ef 100644
--- a/pw_allocator/py/BUILD.gn
+++ b/pw_allocator/py/BUILD.gn
@@ -20,7 +20,6 @@ pw_python_package("py") {
setup = [
"pyproject.toml",
"setup.cfg",
- "setup.py",
]
sources = [
"pw_allocator/__init__.py",
diff --git a/pw_allocator/py/pw_allocator/heap_viewer.py b/pw_allocator/py/pw_allocator/heap_viewer.py
index 074fb2bc9..3b926d68a 100644
--- a/pw_allocator/py/pw_allocator/heap_viewer.py
+++ b/pw_allocator/py/pw_allocator/heap_viewer.py
@@ -144,7 +144,7 @@ def visualize(
pointer_size=4,
):
"""Visualization of heap usage."""
- # TODO(b/235282507): Add standarized mechanisms to produce dump file and
+ # TODO: b/235282507 - Add standarized mechanisms to produce dump file and
# read heap information from dump file.
aligned_bytes = pointer_size
header_size = pointer_size * 2
diff --git a/pw_allocator/py/setup.py b/pw_allocator/py/setup.py
deleted file mode 100644
index 7a82dcf7e..000000000
--- a/pw_allocator/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_allocator"""
-
-import setuptools # type: ignore
-
-setuptools.setup() # Package definition in setup.cfg