加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
setup.py 1.77 KB
一键复制 编辑 原始数据 按行查看 历史
runzhe.wrz 提交于 2024-09-23 19:14 . update to 3.1.0
# Copyright (c) 2021-2023 Alibaba Cloud Computing Ltd.
# SPDX-License-Identifier: MulanPSL-2.0
# pylint: disable=C,redefined-outer-name,unspecified-encoding,import-error,logging-format-interpolation,broad-except,no-self-use,protected-access,abstract-method,consider-using-with,too-many-instance-attributes,too-many-arguments,eval-used,fixme,attribute-defined-outside-init,anomalous-backslash-in-string
from setuptools import setup, find_packages
setup(
name = "keentune-target",
version = "3.1.0",
description = "KeenTune target unit",
url = "https://gitee.com/anolis/keentune_target",
license = "MulanPSLv2",
packages = find_packages(exclude=["test"]),
package_data = {'target': ['target.conf']},
python_requires = '>=3.6',
long_description = "",
classifiers = [
"Environment:: KeenTune",
"IntendedAudience :: Information Technology",
"IntendedAudience :: System Administrators",
"License :: OSI Approved :: MulanPSLv2",
"Operating System :: POSIX :: Linux",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.6",
"ProgrammingLanguage :: Python"
],
data_files = [
("/etc/keentune/target", ["agent/target.conf"]),
("/etc/keentune/target", ["agent/configfile.conf"]),
("/etc/keentune/target/scripts", ["agent/scripts/erdma.sh"]),
("/etc/keentune/target/scripts", ["agent/scripts/set_xps_rps.sh"]),
("/etc/keentune/target/scripts", ["agent/scripts/set_irq.sh"]),
("/var/keentune/lib", []),
("/var/log/keentune",[]),
("/var/keentune/target/backup",[]),
],
entry_points = {
'console_scripts': ['keentune-target=agent.agent:main']
}
)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化