forked from nchammas/flintrock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
76 lines (65 loc) · 2.58 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
71
72
73
74
75
76
import setuptools
from flintrock import __version__
with open('README.md') as f:
long_description = f.read()
setuptools.setup(
name='Flintrock',
version=__version__,
description='A command-line tool for launching Apache Spark clusters.',
long_description=long_description,
long_description_content_type="text/markdown",
url='https://github.com/nchammas/flintrock',
author='Nicholas Chammas',
author_email='[email protected]',
license='Apache License 2.0',
python_requires='>= 3.4',
# See: https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Topic :: Utilities',
'Environment :: Console',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords=['Apache Spark'],
packages=setuptools.find_packages(),
include_package_data=True,
# We pin dependencies because sometimes projects do not
# strictly follow semantic versioning, so new "feature"
# releases end up making backwards-incompatible changes.
# Sometimes, new releases even introduce bugs which
# totally break Flintrock.
# For example: https://github.com/paramiko/paramiko/issues/615
install_requires=[
'boto3 == 1.7.58',
'botocore == 1.10.58',
'click == 6.7',
'paramiko == 2.4.1',
'PyYAML == 3.12',
# This is to ensure that PyInstaller works. dateutil is an
# indirect dependency of Flintrock, and PyInstaller chokes on
# dateutil 2.5.0.
# See: https://github.com/pyinstaller/pyinstaller/issues/1848
# More recently, botocore also imposes additional restrictions
# on the acceptable versions of python-dateutil.
'python-dateutil >= 2.5.3, < 2.7.0',
# This is to address reports that PyInstaller-packaged versions
# of Flintrock intermittently fail due to an out-of-date version
# of Cryptography being used.
# See: https://github.com/nchammas/flintrock/issues/169
'cryptography >= 1.7.2',
],
entry_points={
'console_scripts': [
'flintrock = flintrock.__main__:main',
],
},
)