2022-07-29 04:08:07 +00:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
# coding=utf-8
|
|
|
|
|
|
|
|
#
|
|
|
|
# Copyright (c) 2020-2022 Huawei Device Co., Ltd.
|
|
|
|
# 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 setuptools import setup
|
|
|
|
|
2024-09-12 01:38:13 +00:00
|
|
|
install_requires = []
|
2024-08-27 03:44:11 +00:00
|
|
|
setup(
|
|
|
|
name='xdevice',
|
|
|
|
description='xdevice test framework',
|
|
|
|
url='',
|
|
|
|
package_dir={'': 'src'},
|
2024-09-12 01:38:13 +00:00
|
|
|
packages=[
|
|
|
|
'xdevice',
|
|
|
|
'xdevice._core',
|
|
|
|
'xdevice._core.command',
|
|
|
|
'xdevice._core.config',
|
|
|
|
'xdevice._core.driver',
|
|
|
|
'xdevice._core.environment',
|
|
|
|
'xdevice._core.executor',
|
|
|
|
'xdevice._core.report',
|
|
|
|
'xdevice._core.testkit',
|
|
|
|
'xdevice._core.context',
|
|
|
|
],
|
2024-08-27 03:44:11 +00:00
|
|
|
package_data={
|
|
|
|
'xdevice._core': [
|
|
|
|
'resource/*.txt',
|
|
|
|
'resource/config/*.xml',
|
|
|
|
'resource/template/*',
|
|
|
|
'resource/template/static/*',
|
|
|
|
'resource/template/static/components/*',
|
|
|
|
'resource/template/static/css/*',
|
2024-09-12 01:38:13 +00:00
|
|
|
'resource/tools/*'
|
2024-08-27 03:44:11 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
entry_points={
|
|
|
|
'console_scripts': [
|
|
|
|
'xdevice=xdevice.__main__:main_process',
|
|
|
|
'xdevice_report=xdevice._core.report.__main__:main_report'
|
|
|
|
]
|
|
|
|
},
|
|
|
|
zip_safe=False,
|
2024-09-12 01:38:13 +00:00
|
|
|
install_requires=install_requires,
|
2024-08-27 03:44:11 +00:00
|
|
|
extras_require={
|
|
|
|
"full": ["cryptography"]
|
|
|
|
},
|
|
|
|
)
|