forked from aws/aws-parallelcluster-node
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
59 lines (54 loc) · 2.27 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
# Copyright 2013-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with the
# License. A copy of the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "LICENSE.txt" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
# OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions and
# limitations under the License.
import os, sys
from setuptools import setup, find_packages
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
console_scripts = ['sqswatcher = sqswatcher.sqswatcher:main',
'nodewatcher = nodewatcher.nodewatcher:main']
version = "1.4.3"
requires = ['boto>=2.48.0', 'python-dateutil>=2.6.1']
if sys.version_info[:2] == (2, 6):
# For python2.6 we have to require argparse since it
# was not in stdlib until 2.7.
requires.append('argparse>=1.4')
requires.append('paramiko==2.3.1')
else:
requires.append('paramiko>=2.3.1')
setup(
name = "cfncluster-node",
version = version,
author = "Dougal Ballantyne",
author_email = "[email protected]",
description = ("cfncluster-node provides the scripts for a cfncluster node."),
url = ("https://github.com/awslabs/cfncluster"),
license = "Apache License 2.0",
packages = find_packages(),
install_requires = requires,
entry_points=dict(console_scripts=console_scripts),
include_package_data = True,
zip_safe = False,
package_data = {
'' : ['examples/config'],
},
long_description = ("cfncluster-node is the python package installed on the Amazon EC2 instances launched as part of CfnCluster."),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Programming Language :: Python",
"Topic :: Scientific/Engineering",
"License :: OSI Approved :: Apache Software License",
],
)