We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6665611 + f8fcb25 commit 84533b6Copy full SHA for 84533b6
lambda_uploader/shell.py
@@ -91,6 +91,10 @@ def _execute(args):
91
92
def main(arv=None):
93
"""lambda-uploader command line interface."""
94
+ # Check for Python 2.7 (required for Lambda)
95
+ if not (sys.version_info[0] == 2 and sys.version_info[1] == 7):
96
+ raise RuntimeError('lambda-uploader requires Python 2.7')
97
+
98
import argparse
99
100
parser = argparse.ArgumentParser(
setup.py
@@ -45,7 +45,6 @@ def package_meta():
45
install_requires=DEPENDENCIES,
46
packages=find_packages(exclude=['tests']),
47
classifiers=[
48
- "Programming Language :: Python",
49
"Programming Language :: Python :: 2.7",
50
],
51
license=_lu_meta['license'],
0 commit comments