forked from C2Devel/c2-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
50 lines (44 loc) · 1.41 KB
/
setup.py
File metadata and controls
50 lines (44 loc) · 1.41 KB
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
from setuptools import setup, find_packages
import os
import sys
from c2client import __version__
PACKAGE_PATH = os.path.abspath(os.path.dirname(__file__))
def get_description():
with open(os.path.join(PACKAGE_PATH, "README.rst")) as readme:
return readme.read()
install_requires = [
"boto", "lxml", "six"
]
# argparse moved to stdlib in python2.7
if sys.version_info[0] == 2 and sys.version_info[1] <= 6:
install_requires.append("argparse")
setup(
name="c2client",
version=__version__,
description="CROC Cloud Platform - API Client",
long_description=get_description(),
url="https://github.com/c2devel/c2-client",
license="GPL3",
author="CROC Cloud Team",
author_email="devel@croc.ru",
maintainer="Mikhail Ushanov",
maintainer_email="gm.mephisto@gmail.com",
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3"
],
install_requires=install_requires,
packages=find_packages(),
entry_points={
"console_scripts": [
"c2-cw = c2client.shell:cw_main",
"c2-ec2 = c2client.shell:ec2_main"
]
},
)