Skip to content

Commit df47695

Browse files
author
Carl Vitzthum
authored
Merge pull request #2 from 4dn-dcic/futures_pkg_fix
Futures pkg fix
2 parents b82d5d8 + 27f914e commit df47695

File tree

5 files changed

+13
-7
lines changed

5 files changed

+13
-7
lines changed

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
include HISTORY.rst
22
include LICENSE
33
include README.rst
4+
include requirements.txt
45
include python/boto/endpoints.json
56
include aws_lambda/project_template/config.yaml
67
recursive-include tests *.json *.py *.txt *.yaml

README.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ The *Python-Lambda* library takes away the guess work of developing your Python-
3434
Requirements
3535
============
3636

37-
* Python 2.7 (At the time of writing this, AWS Lambda only supports Python 2.7).
3837
* Pip (~8.1.1)
3938
* Virtualenv (~15.0.0)
4039
* Virtualenvwrapper (~4.7.1)

aws_lambda/_version.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
"""Version information."""
2+
3+
# The following line *must* be the last in the module, exactly as formatted:
4+
__version__ = "0.10.3"

requirements.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
botocore==1.10.42
22
boto3==1.7.42
33
click==6.6
4-
docutils==0.12
4+
docutils==0.14
55
futures==3.0.5
6-
jmespath==0.9.0
6+
jmespath==0.9.4
77
pyaml==15.8.2
8-
python-dateutil==2.5.3
9-
PyYAML==3.11
10-
six==1.10.0
8+
python-dateutil==2.8.0
9+
PyYAML==3.12
10+
six==1.12.0

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,15 @@
1111
requirements = f.read().splitlines()
1212
pip_requirements = [r.strip() for r in requirements]
1313

14+
pkg_version = open("aws_lambda/_version.py").readlines()[-1].split()[-1].strip("\"'")
15+
1416
test_requirements = [
1517
# TODO: put package test requirements here
1618
]
1719

1820
setup(
1921
name='python-lambda-4dn',
20-
version='0.10.2',
22+
version=pkg_version,
2123
description="FORKED for 4dn-dcic. The bare minimum for a Python app running on Amazon Lambda.",
2224
long_description=readme,
2325
author="Carl Vitzthum, Soo Lee",

0 commit comments

Comments
 (0)