forked from cloudnativelabs/kube-shell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
56 lines (50 loc) · 1.64 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
from kubeshell import __version__
from setuptools import setup, find_packages
import sys
version = sys.version_info
error_msg = "kube-shell needs Python>=2.7.10. Found %s" % sys.version
if version.major == 2:
if version.minor < 7:
sys.exit(error_msg)
else:
if version.micro < 10:
sys.exit(error_msg)
requires = [
'prompt-toolkit>=1.0.10,<1.1.0',
'Pygments>=2.1.3,<3.0.0',
'fuzzyfinder>=1.0.0',
'click>=4.0,<7.0',
'kubernetes>=0.10.0,<3.0.0',
]
setup(
name='kube-shell',
version=__version__,
description='Kubernetes shell: An integrated shell for working with the Kubernetes CLI',
author='Cloudnative Labs',
url='https://github.com/cloudnativelabs/kube-shell',
packages=find_packages(),
package_data={'kubeshell': ['data/cli.json']},
zip_safe=False,
install_requires=requires,
entry_points={
'console_scripts': [
'kube-shell = kubeshell.main:cli',
]
},
license="Apache License 2.0",
keywords=('kubernetes', 'autocomplete', 'shell',),
classifiers=(
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Natural Language :: English',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
),
)