Skip to content

Commit

Permalink
[skyapi] refs skycoin#131 adding skyapi manylinux wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
e1Ru1o committed Jul 10, 2019
1 parent 3990886 commit 6f4ff02
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ before_deploy:
- make sdist
- make bdist_wheel
- if [ $TRAVIS_OS_NAME == "linux" && $TOXENV == "py37" ]; then make bdist_manylinux_amd64 ; fi
- if [[ "$ONLY_SKYAPI" == "false" ]]; then cd lib/skyapi ; fi
- if [[ "$ONLY_SKYAPI" == "true" ]]; then cd lib/skyapi ; fi
- ls dist
deploy:
- provider: releases
Expand Down
16 changes: 13 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,24 @@ bdist_manylinux: bdist_manylinux_amd64 ## Create multilinux binary wheel distrib

bdist_manylinux_amd64: ## Create 64 bits multilinux binary wheel distribution archives
docker pull quay.io/pypa/manylinux1_x86_64
docker run --rm -t -v $(REPO_ROOT):/io quay.io/pypa/manylinux1_x86_64 /io/.travis/build_wheels.sh
docker run --rm -t -v $(REPO_ROOT):/io quay.io/pypa/manylinux1_x86_64 /io/.travis/build_wheels.sh /io/ requierements.dev.txt
ls wheelhouse/
mkdir -p $(DIST_DIR)
cp -v wheelhouse/* $(DIST_DIR)
mv -v wheelhouse/* $(DIST_DIR)
docker run --rm -t -v $(REPO_ROOT):/io quay.io/pypa/manylinux1_x86_64 /io/.travis/build_wheels.sh /io/$(PYTHON_CLIENT_DIR) requierements.txt
mkdir -p $(PYTHON_CLIENT_DIR)/$(DIST_DIR)
mv -v wheelhouse/* $(PYTHON_CLIENT_DIR)/$(DIST_DIR)


bdist_manylinux_i686: ## Create 32 bits multilinux binary wheel distribution archives
docker pull quay.io/pypa/manylinux1_i686
docker run --rm -t -v $(REPO_ROOT):/io quay.io/pypa/manylinux1_i686 linux32 /io/.travis/build_wheels.sh
docker run --rm -t -v $(REPO_ROOT):/io quay.io/pypa/manylinux1_i686 linux32 /io/.travis/build_wheels.sh /io/ requierements.dev.txt
ls wheelhouse/
mkdir -p $(DIST_DIR)
mv -v wheelhouse/* $(DIST_DIR)
docker run --rm -t -v $(REPO_ROOT):/io quay.io/pypa/manylinux1_i686 linux32 /io/.travis/build_wheels.sh /io/$(PYTHON_CLIENT_DIR) requierements.txt
mkdir -p $(PYTHON_CLIENT_DIR)/$(DIST_DIR)
mv -v wheelhouse/* $(PYTHON_CLIENT_DIR)/$(DIST_DIR)
ls wheelhouse/
mkdir -p $(DIST_DIR)
cp -v wheelhouse/* $(DIST_DIR)
Expand Down

0 comments on commit 6f4ff02

Please sign in to comment.