forked from aws/aws-parallelcluster
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
70 lines (62 loc) · 2.23 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
# Copyright 2013-2016 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
import sys
from setuptools import find_packages, setup
def readme():
"""Read the README file and use it as long description."""
with open(os.path.join(os.path.dirname(__file__), "README")) as f:
return f.read()
VERSION = "2.5.0"
REQUIRES = [
"boto3>=1.10.15",
"future>=0.16.0,<=0.18.2",
"tabulate>=0.8.2,<=0.8.3",
"ipaddress>=1.0.22",
"enum34>=1.1.6",
"PyYAML>=5.1.2",
]
if sys.version_info[0] == 2:
REQUIRES.append("configparser>=3.5.0,<=3.8.1")
setup(
name="aws-parallelcluster",
version=VERSION,
author="Amazon Web Services",
description="AWS ParallelCluster is an AWS supported Open Source cluster management tool to deploy "
"and manage HPC clusters in the AWS cloud.",
url="https://github.com/aws/aws-parallelcluster",
license="Apache License 2.0",
packages=find_packages(),
python_requires=">=2.7",
install_requires=REQUIRES,
entry_points={
"console_scripts": [
"pcluster = pcluster.cli:main",
"awsbqueues = awsbatch.awsbqueues:main",
"awsbhosts = awsbatch.awsbhosts:main",
"awsbstat = awsbatch.awsbstat:main",
"awsbkill = awsbatch.awsbkill:main",
"awsbsub = awsbatch.awsbsub:main",
"awsbout = awsbatch.awsbout:main",
]
},
include_package_data=True,
zip_safe=False,
package_data={"": ["examples/config"]},
long_description=readme(),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Programming Language :: Python",
"Topic :: Scientific/Engineering",
"License :: OSI Approved :: Apache Software License",
],
)