1#!/usr/bin/env python3 2# coding=utf-8 3 4# 5# Copyright (c) 2020-2022 Huawei Device Co., Ltd. 6# Licensed under the Apache License, Version 2.0 (the "License"); 7# you may not use this file except in compliance with the License. 8# You may obtain a copy of the License at 9# 10# http://www.apache.org/licenses/LICENSE-2.0 11# 12# Unless required by applicable law or agreed to in writing, software 13# distributed under the License is distributed on an "AS IS" BASIS, 14# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15# See the License for the specific language governing permissions and 16# limitations under the License. 17# 18from setuptools import setup 19 20INSTALL_REQUIRES = [ 21 "xdevice" 22] 23 24setup( 25 name='xdevice-ohos', 26 description='plugin for ohos', 27 url='', 28 package_dir={'': 'src'}, 29 packages=['ohos', 30 'ohos.drivers', 31 'ohos.config', 32 'ohos.environment', 33 'ohos.executor', 34 'ohos.managers', 35 'ohos.parser', 36 'ohos.testkit' 37 ], 38 entry_points={ 39 'device': [ 40 'device=ohos.environment.device', 41 'device_lite=ohos.environment.device_lite' 42 ], 43 'manager': [ 44 'manager=ohos.managers.manager_device', 45 'manager_lite=ohos.managers.manager_lite' 46 ], 47 'driver': [ 48 'cpp_driver=ohos.drivers.cpp_driver', 49 'cpp_driver_lite=ohos.drivers.cpp_driver_lite', 50 'jsunit_driver=ohos.drivers.jsunit_driver', 51 'ltp_posix_driver=ohos.drivers.ltp_posix_driver', 52 'oh_jsunit_driver=ohos.drivers.oh_jsunit_driver', 53 'oh_kernel_driver=ohos.drivers.oh_kernel_driver', 54 'oh_yara_driver=ohos.drivers.oh_yara_driver', 55 'c_driver_lite=ohos.drivers.c_driver_lite', 56 ], 57 'listener': [ 58 'listener=ohos.executor.listener', 59 ], 60 'testkit': [ 61 'kit=ohos.testkit.kit', 62 'kit_lite=ohos.testkit.kit_lite' 63 ], 64 'parser': [ 65 'build_only_parser_lite=ohos.parser.build_only_parser_lite', 66 'c_parser_lite=ohos.parser.c_parser_lite', 67 'cpp_parser_lite=ohos.parser.cpp_parser_lite', 68 'jsunit_parser_lite=ohos.parser.jsunit_parser_lite', 69 'opensource_parser_lite=ohos.parser.opensource_parser_lite', 70 71 'cpp_parser=ohos.parser.cpp_parser', 72 'jsunit_parser=ohos.parser.jsunit_parser', 73 'junit_parser=ohos.parser.junit_parser', 74 'oh_jsunit_parser=ohos.parser.oh_jsunit_parser', 75 'oh_kernel_parser=ohos.parser.oh_kernel_parser', 76 'oh_rust_parser=ohos.parser.oh_rust_parser', 77 'oh_yara_parser=ohos.parser.oh_yara_parser', 78 ] 79 }, 80 zip_safe=False, 81 install_requires=INSTALL_REQUIRES, 82) 83