From 68a571d560732dac235d84b3bba059f347aa9745 Mon Sep 17 00:00:00 2001 From: Lalit Maganti Date: Mon, 9 Oct 2023 13:30:25 +0100 Subject: [PATCH] python: remove unnecessary deprecated namespace packaging Change-Id: Id92d017163e5072bc35d66829569656b49fe4355 Fixes: https://github.com/google/perfetto/issues/599 --- python/perfetto/__init__.py | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 python/perfetto/__init__.py diff --git a/python/perfetto/__init__.py b/python/perfetto/__init__.py deleted file mode 100644 index c56906938d..0000000000 --- a/python/perfetto/__init__.py +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env python3 -# Copyright (C) 2020 The Android Open Source Project -# -# 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 -# -# http://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. - -try: - __import__('pkg_resources').declare_namespace(__name__) -except ImportError: - __path__ = __import__('pkgutil').extend_path(__path__, __name__) \ No newline at end of file