forked from pywren/pywren
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
67 lines (60 loc) · 2.44 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
#
# Copyright 2018 PyWren Team
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# pylint: skip-file
#!/usr/bin/env python
import sys
#import pkgconfig
from setuptools import setup, find_packages
if sys.version_info < (2, 7):
sys.exit('Sorry, Python < 2.7 is not supported')
if sys.version_info > (3,) and sys.version_info < (3, 4):
sys.exit('Sorry, Python3 version < 3.4 is not supported')
# http://stackoverflow.com/questions/6344076/differences-between-distribute-distutils-setuptools-and-distutils2
# how to get version info into the project
exec(open('pywren/version.py').read())
setup(
name='pywren',
version=__version__,
url='http://pywren.io',
author='Eric Jonas',
description='Run many jobs transparently on AWS Lambda and other cloud services',
long_description="PyWren lets you transparently run your python functions"
"on AWS cloud services, including AWS Lambda and AWS EC2.",
author_email='[email protected]',
packages=find_packages(),
install_requires=[
'Click', 'boto3', 'PyYAML',
'enum34', 'flaky', 'glob2',
'watchtower', 'tblib' # it's nuts that we need both botos
],
tests_requires=[
'pytest', 'numpy',
],
entry_points={
'console_scripts' : ['pywren=pywren.scripts.pywrencli:main',
'pywren-setup=pywren.scripts.setupscript:interactive_setup',
'pywren-server=pywren.scripts.standalone:server']},
package_data={
'pywren': ['default_config.yaml',
'ec2_standalone_files/ec2standalone.cloudinit.template',
'ec2_standalone_files/supervisord.conf',
'ec2_standalone_files/supervisord.init',
'ec2_standalone_files/cloudwatch-agent.config',
'jobrunner/jobrunner.py'
]},
dependency_links=['https://github.com/kislyuk/watchtower/tarball/master#egg=watchtower-0.3.4'],
include_package_data=True
)