Skip to content

Commit ca783c1

Browse files
Various update and cleanup
1 parent 48d6888 commit ca783c1

File tree

13 files changed

+43
-16
lines changed

13 files changed

+43
-16
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2015-2019 HENNGE K.K. (formerly known as HDE, Inc.)
3+
Copyright (c) 2015-2020 HENNGE K.K. (formerly known as HDE, Inc.)
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Suppose your project directory is like this:
6868
│   │   ├── ... (package content of rx)
6969
...
7070
│   │   └── testscheduler.py
71-
│   └── Rx-1.2.3.dist-info
71+
│   └── Rx-1.6.1.dist-info
7272
│   ├── DESCRIPTION.rst
7373
│   ├── METADATA
7474
│   ├── metadata.json
@@ -147,7 +147,7 @@ Call a handler function `func` with given `event`, `context` and custom `environ
147147
1. Make sure the 3rd party libraries used in the AWS Lambda function can be imported.
148148

149149
``` bash
150-
pip install rx
150+
pip install rx==1.6.1
151151
```
152152

153153
2. To call the lambda function above with your python code:

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Suppose your project directory is like this:
7575
│   │   ├── ... (package content of rx)
7676
...
7777
│   │   └── testscheduler.py
78-
│   └── Rx-1.2.3.dist-info
78+
│   └── Rx-1.6.1.dist-info
7979
│   ├── DESCRIPTION.rst
8080
│   ├── METADATA
8181
│   ├── metadata.json
@@ -164,7 +164,7 @@ Sample
164164

165165
.. code:: bash
166166
167-
pip install rx
167+
pip install rx==1.6.1
168168
169169
2. To call the lambda function above with your python code:
170170

lambda_local/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'''
22
python-lambda-local: Main module
33
4-
Copyright 2015-2019 HENNGE K.K. (formerly known as HDE, Inc.)
4+
Copyright 2015-2020 HENNGE K.K. (formerly known as HDE, Inc.)
55
Licensed under MIT.
66
'''
77

lambda_local/context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
'''
2-
Copyright 2015-2019 HENNGE K.K. (formerly known as HDE, Inc.)
2+
Copyright 2015-2020 HENNGE K.K. (formerly known as HDE, Inc.)
33
Licensed under MIT.
44
'''
55
from __future__ import print_function

lambda_local/event.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
'''
2-
Copyright 2015-2019 HENNGE K.K. (formerly known as HDE, Inc.)
2+
Copyright 2015-2020 HENNGE K.K. (formerly known as HDE, Inc.)
33
Licensed under MIT.
44
'''
55

lambda_local/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
'''
2-
Copyright 2015-2019 HENNGE K.K. (formerly known as HDE, Inc.)
2+
Copyright 2015-2020 HENNGE K.K. (formerly known as HDE, Inc.)
33
Licensed under MIT.
44
'''
55

lambda_local/timeout.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
'''
2-
Copyright 2015-2019 HENNGE K.K. (formerly known as HDE, Inc.)
2+
Copyright 2015-2020 HENNGE K.K. (formerly known as HDE, Inc.)
33
Licensed under MIT.
44
'''
55

setup.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'''
22
python-lambda-local: Run lambda function in python on local machine.
33
4-
Copyright 2015-2019 HENNGE K.K. (formerly known as HDE, Inc.)
4+
Copyright 2015-2020 HENNGE K.K. (formerly known as HDE, Inc.)
55
Licensed under MIT.
66
'''
77
import io
@@ -26,8 +26,6 @@ def run_tests(self):
2626
version = "0.1.12"
2727

2828
TEST_REQUIRE = ['pytest']
29-
if sys.version_info[0] == 2:
30-
TEST_REQUIRE = ['pytest==4.6.3']
3129

3230
setup(name="python-lambda-local",
3331
version=version,
@@ -39,6 +37,7 @@ def run_tests(self):
3937
'Programming Language :: Python',
4038
'Programming Language :: Python :: 3.7',
4139
'Programming Language :: Python :: 3.8',
40+
'Programming Language :: Python :: 3.9',
4241
'License :: OSI Approved :: MIT License'
4342
],
4443
keywords="AWS Lambda",

tests/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
Organize tests into files, each named xxx_test.py
66
Read more here: http://pytest.org/
77
8-
Copyright 2015-2019 HENNGE K.K. (formerly known as HDE, Inc.)
8+
Copyright 2015-2020 HENNGE K.K. (formerly known as HDE, Inc.)
99
Licensed under MIT
1010
'''

0 commit comments

Comments
 (0)