Skip to content

Commit 8dde3e9

Browse files
authored
Merge pull request #62 from HDE/master
Release v0.1.11
2 parents ae22a12 + 42210f6 commit 8dde3e9

File tree

5 files changed

+41
-9
lines changed

5 files changed

+41
-9
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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.6.
11+
Please use a newly created virtualenv of Python 2.7 or Python 3.7.
1212

1313
## Installation
1414

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Run lambda function on local machine
99
Prepare development environment
1010
-------------------------------
1111

12-
Please use a newly created virtualenv of Python 2.7 or Python 3.6.
12+
Please use a newly created virtualenv of Python 2.7 or Python 3.7.
1313

1414
Installation
1515
------------

deploy.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,10 @@ password: ${PYPI_PASSWORD}
1212
EOF
1313

1414
pip install twine
15-
twine upload -r pypi dist/*
1615

16+
mkdir dist
17+
cp build-py2/dist/* dist/
18+
cp build-py37/dist/* dist/
19+
cp build-py38/dist/* dist/
20+
21+
twine upload -r pypi dist/*

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def run_tests(self):
2323
sys.exit(pytest.main(self.test_args))
2424

2525

26-
version = "0.1.10"
26+
version = "0.1.11"
2727

2828
TEST_REQUIRE = ['pytest']
2929
if sys.version_info[0] == 2:

wercker.yml

Lines changed: 32 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
box: python:3.7-slim
1+
box: python:3-slim
22

33
build:
44
steps:
@@ -13,7 +13,7 @@ build-py2:
1313
1414
- virtualenv:
1515
name: setup virtual environment
16-
install_wheel: true # Enable wheel to speed up builds (experimental)
16+
install_wheel: true
1717

1818
- script:
1919
name: echo python information
@@ -31,7 +31,7 @@ build-py2:
3131
code: |
3232
python setup.py test
3333
34-
build-py3:
34+
build-py37:
3535
box: python:3.7-slim
3636
steps:
3737
- script:
@@ -41,7 +41,35 @@ build-py3:
4141
4242
- virtualenv:
4343
name: setup virtual environment
44-
install_wheel: true # Enable wheel to speed up builds (experimental)
44+
install_wheel: true
45+
46+
- script:
47+
name: echo python information
48+
code: |
49+
echo "python version $(python --version) running"
50+
echo "pip version $(pip --version) running"
51+
52+
- script:
53+
name: build
54+
code: |
55+
python setup.py sdist bdist_wheel
56+
57+
- script:
58+
name: test
59+
code: |
60+
python setup.py test
61+
62+
build-py38:
63+
box: python:3.8-slim
64+
steps:
65+
- script:
66+
name: virtualenv install
67+
code: |
68+
pip install virtualenv
69+
70+
- virtualenv:
71+
name: setup virtual environment
72+
install_wheel: true
4573

4674
- script:
4775
name: echo python information
@@ -64,5 +92,4 @@ deploy:
6492
- script:
6593
name: deploy to pypi
6694
code: |
67-
cd build-py3
6895
sh deploy.sh

0 commit comments

Comments
 (0)