• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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#
18
19from setuptools import setup
20
21INSTALL_REQUIRES = []
22
23
24def main():
25    setup(name='xdevice-ohos',
26          description='plugin for ohos',
27          url='',
28          package_dir={'': 'src'},
29          packages=['ohos',
30                    'ohos.drivers',
31                    'ohos.environment',
32                    'ohos.executor',
33                    'ohos.managers',
34                    'ohos.parser',
35                    'ohos.testkit'
36                    ],
37          entry_points={
38              'device': [
39                  'device=ohos.environment.device',
40                  'device_lite=ohos.environment.device_lite'
41              ],
42              'manager': [
43                  'manager=ohos.managers.manager_device',
44                  'manager_lite=ohos.managers.manager_lite'
45              ],
46              'driver': [
47                  'drivers=ohos.drivers.drivers',
48                  'drivers_lite=ohos.drivers.drivers_lite',
49                  'openharmony=ohos.drivers.openharmony'
50              ],
51              'listener': [
52                  'listener=ohos.executor.listener',
53              ],
54              'testkit': [
55                  'kit=ohos.testkit.kit',
56                  'kit_lite=ohos.testkit.kit_lite'
57              ],
58              'parser': [
59                  'parser_lite=ohos.parser.parser_lite',
60                  'parser=ohos.parser.parser'
61
62              ]
63          },
64          zip_safe=False,
65          install_requires=INSTALL_REQUIRES,
66          )
67
68
69if __name__ == "__main__":
70    main()
71