Content-Length: 377110 | pFad | http://github.com/HDE/python-lambda-local/pull/61/files

60 Fix build by yxd-hde · Pull Request #61 · HDE/python-lambda-local · GitHub
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build #61

Merged
merged 3 commits into from
Nov 29, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Run lambda function on local machine

## Prepare development environment

Please use a newly created virtualenv of Python 2.7 or Python 3.6.
Please use a newly created virtualenv of Python 2.7 or Python 3.7.

## Installation

Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Run lambda function on local machine
Prepare development environment
-------------------------------

Please use a newly created virtualenv of Python 2.7 or Python 3.6.
Please use a newly created virtualenv of Python 2.7 or Python 3.7.

Installation
------------
Expand Down
7 changes: 6 additions & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,10 @@ password: ${PYPI_PASSWORD}
EOF

pip install twine
twine upload -r pypi dist/*

mkdir dist
cp build-py2/dist/* dist/
cp build-py37/dist/* dist/
cp build-py38/dist/* dist/

twine upload -r pypi dist/*
37 changes: 32 additions & 5 deletions wercker.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
box: python:3.7-slim
box: python:3-slim

build:
steps:
Expand All @@ -13,7 +13,7 @@ build-py2:

- virtualenv:
name: setup virtual environment
install_wheel: true # Enable wheel to speed up builds (experimental)
install_wheel: true

- script:
name: echo python information
Expand All @@ -31,7 +31,7 @@ build-py2:
code: |
python setup.py test

build-py3:
build-py37:
box: python:3.7-slim
steps:
- script:
Expand All @@ -41,7 +41,35 @@ build-py3:

- virtualenv:
name: setup virtual environment
install_wheel: true # Enable wheel to speed up builds (experimental)
install_wheel: true

- script:
name: echo python information
code: |
echo "python version $(python --version) running"
echo "pip version $(pip --version) running"

- script:
name: build
code: |
python setup.py sdist bdist_wheel

- script:
name: test
code: |
python setup.py test

build-py38:
box: python:3.8-slim
steps:
- script:
name: virtualenv install
code: |
pip install virtualenv

- virtualenv:
name: setup virtual environment
install_wheel: true

- script:
name: echo python information
Expand All @@ -64,5 +92,4 @@ deploy:
- script:
name: deploy to pypi
code: |
cd build-py3
sh deploy.sh








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/HDE/python-lambda-local/pull/61/files

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy