-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
75 lines (58 loc) · 2.3 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#!/usr/bin/env python
from setuptools import setup, find_packages
PROJECT = 'kostyor-cli'
VERSION = '0.1'
try:
long_description = open('README.rst', 'rt').read()
except IOError:
long_description = ''
setup(
name=PROJECT,
version=VERSION,
description='Kostyor CLI tool',
long_description=long_description,
author='Kostyor Authors',
author_email='TODO',
url='https://github.com/sc68cal/kostyor-cli',
download_url='https://github.com/sc68cal/kostyor-cli/tarball/master',
classifiers=['Development Status :: 3 - Alpha',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Intended Audience :: Developers',
'Environment :: Console',
],
platforms=['Any'],
scripts=[],
provides=[],
install_requires=['cliff'],
namespace_packages=[],
packages=find_packages(),
include_package_data=True,
entry_points={
'console_scripts': [
'kostyor = kostyor_cli.main:main'
],
'kostyor.cli': [
'check-upgrade = kostyor_cli.main:CheckUpgrade',
'cluster-status = kostyor_cli.main:ClusterStatus',
'cluster-list = kostyor_cli.main:ClusterList',
'list-upgrade-versions = kostyor_cli.main:ListUpgradeVersions',
'host-list = kostyor_cli.main:HostList',
'service-list = kostyor_cli.main:ServiceList',
'discover-list = kostyor_cli.commands:DiscoverList',
'discover-run = kostyor_cli.commands:DiscoverRun',
'upgrade-list = kostyor_cli.commands:UpgradeList',
'upgrade-show = kostyor_cli.commands:UpgradeShow',
'upgrade-start = kostyor_cli.commands:UpgradeStart',
'upgrade-pause = kostyor_cli.commands:UpgradePause',
'upgrade-continue = kostyor_cli.commands:UpgradeContinue',
'upgrade-rollback = kostyor_cli.commands:UpgradeRollback',
'upgrade-cancel = kostyor_cli.commands:UpgradeCancel',
],
},
zip_safe=False,
)