File tree Expand file tree Collapse file tree 6 files changed +7
-32
lines changed Expand file tree Collapse file tree 6 files changed +7
-32
lines changed Original file line number Diff line number Diff line change @@ -61,3 +61,7 @@ target/
6161
6262# Vitual Environments
6363venv /
64+ .env /
65+
66+ # direnv
67+ .envrc
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ Run lambda function on local machine
88
99## Prepare development environment
1010
11- Please use a newly created virtualenv of Python 2.7 or Python 3.7.
11+ Please use a newly created virtualenv of Python 3.7+ .
1212
1313## Installation
1414
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ Run lambda function on local machine
99Prepare development environment
1010-------------------------------
1111
12- Please use a newly created virtualenv of Python 2.7 or Python 3.7.
12+ Please use a newly created virtualenv of Python 3.7+ .
1313
1414Installation
1515------------
Original file line number Diff line number Diff line change 66import signal
77import threading
88from contextlib import contextmanager
9- from six . moves import _thread
9+ import _thread
1010
1111
1212class TimeoutException (Exception ):
Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ def run_tests(self):
3737 'Development Status :: 3 - Alpha' ,
3838 'Operating System :: POSIX' ,
3939 'Programming Language :: Python' ,
40- 'Programming Language :: Python :: 2.7' ,
4140 'Programming Language :: Python :: 3.7' ,
4241 'Programming Language :: Python :: 3.8' ,
4342 'License :: OSI Approved :: MIT License'
Original file line number Diff line number Diff line change @@ -3,34 +3,6 @@ box: python:3-slim
33build :
44 steps :
55
6- build-py2 :
7- box : python:2.7-slim
8- steps :
9- - script :
10- name : virtualenv install
11- code : |
12- pip install virtualenv
13-
14- - virtualenv :
15- name : setup virtual environment
16- install_wheel : true
17-
18- - script :
19- name : echo python information
20- code : |
21- echo "python version $(python --version) running"
22- echo "pip version $(pip --version) running"
23-
24- - script :
25- name : build
26- code : |
27- python setup.py sdist bdist_wheel
28-
29- - script :
30- name : test
31- code : |
32- python setup.py test
33-
346build-py37 :
357 box : python:3.7-slim
368 steps :
You can’t perform that action at this time.
0 commit comments