4 Star 7 Fork 3

openKylin-backup/pcs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
setup.py 1.19 KB
一键复制 编辑 原始数据 按行查看 历史
hjimmy 提交于 2020-03-28 19:09 +08:00 . Initial commit
#!/usr/bin/python3
import os
from setuptools import setup, Command, find_packages
class CleanCommand(Command):
user_options = []
def initialize_options(self):
#pylint: disable=attribute-defined-outside-init
self.cwd = None
def finalize_options(self):
#pylint: disable=attribute-defined-outside-init
self.cwd = os.getcwd()
def run(self):
assert os.getcwd() == self.cwd, 'Must be in package root: %s' % self.cwd
os.system('rm -rf ./build ./dist ./*.pyc ./*.egg-info')
setup(
name='pcs',
version='0.10.2',
description='Pacemaker Configuration System',
author='Chris Feist',
author_email='cfeist@redhat.com',
url='https://github.com/ClusterLabs/pcs',
packages=find_packages(exclude=["pcs_test", "pcs_test.*"]),
package_data={'pcs':[
'bash_completion',
'pcs.8',
'pcs',
]},
zip_safe=False,
entry_points={
'console_scripts': [
'pcs = pcs.app:main',
'pcsd = pcs.run:daemon',
'pcs_snmp_agent = pcs.run:pcs_snmp_agent',
'pcs_internal = pcs.pcs_internal:main',
],
},
cmdclass={
'clean': CleanCommand,
}
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/openkylin-backup/pcs.git
git@gitee.com:openkylin-backup/pcs.git
openkylin-backup
pcs
pcs
master

搜索帮助