File tree 7 files changed +8
-34
lines changed
7 files changed +8
-34
lines changed Original file line number Diff line number Diff line change @@ -61,3 +61,7 @@ target/
61
61
62
62
# Vitual Environments
63
63
venv /
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
8
8
9
9
## Prepare development environment
10
10
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+ .
12
12
13
13
## Installation
14
14
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ Run lambda function on local machine
9
9
Prepare development environment
10
10
-------------------------------
11
11
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+ .
13
13
14
14
Installation
15
15
------------
Original file line number Diff line number Diff line change 14
14
pip install twine
15
15
16
16
mkdir dist
17
- cp build-py2/dist/* dist/
18
17
cp build-py37/dist/* dist/
19
18
cp build-py38/dist/* dist/
20
19
Original file line number Diff line number Diff line change 6
6
import signal
7
7
import threading
8
8
from contextlib import contextmanager
9
- from six . moves import _thread
9
+ import _thread
10
10
11
11
12
12
class TimeoutException (Exception ):
Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ def run_tests(self):
37
37
'Development Status :: 3 - Alpha' ,
38
38
'Operating System :: POSIX' ,
39
39
'Programming Language :: Python' ,
40
- 'Programming Language :: Python :: 2.7' ,
41
40
'Programming Language :: Python :: 3.7' ,
42
41
'Programming Language :: Python :: 3.8' ,
43
42
'License :: OSI Approved :: MIT License'
Original file line number Diff line number Diff line change @@ -3,34 +3,6 @@ box: python:3-slim
3
3
build :
4
4
steps :
5
5
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
-
34
6
build-py37 :
35
7
box : python:3.7-slim
36
8
steps :
@@ -92,5 +64,5 @@ deploy:
92
64
- script :
93
65
name : deploy to pypi
94
66
code : |
95
- cp build-py2 /deploy.sh .
67
+ cp build-py37 /deploy.sh .
96
68
sh deploy.sh
You can’t perform that action at this time.
0 commit comments