Make this a proper python package.

Python is picky about directory structure. Ever since python 3 the tests
have not been able to run because the import won't work. This fixes that
problem.

Bug: None
Test: None
Change-Id: I4a626f130e4ca3cd2c9b69804083dfe6daffb5f7
This commit is contained in:
Dan Albert
2022-12-16 13:55:36 -08:00
parent ac3c9fd05e
commit 91e796d227
5 changed files with 0 additions and 18 deletions

View File

@@ -1,17 +0,0 @@
#
# Copyright (C) 2015 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.
#
from __future__ import absolute_import
from .device import * # pylint: disable=wildcard-import

View File

@@ -22,7 +22,6 @@ setup(
description='A Python interface to the Android Debug Bridge.', description='A Python interface to the Android Debug Bridge.',
license='Apache 2.0', license='Apache 2.0',
keywords='adb android', keywords='adb android',
package_dir={'adb': ''},
packages=['adb'], packages=['adb'],
package_data={'adb': ['py.typed']}, package_data={'adb': ['py.typed']},
classifiers=[ classifiers=[