revert PR9; add --no-deps to pip wheel
Revert PR9; it was never actually needed in the first place it just fixed an
issue by side effect.
1) add --no-deps to pip wheel step in order to avoid building wheels for
dependencies. This also addresses the issues raised in PR #11.
2) Modify the pip install step across platforms to allow installation of
dependencies from the index. (This is required since we will no longer be
building wheels for dependencies).
+ In linux environment, if there was no matching python configurations for a
particular architecture (i.e. if that architecture was skipped) the docker
build script would just crash. The offending line:
for whl in /tmp/linux_wheels/*.whl; do
would result in whl being equal to the unexpanded glob expression. Rather
than checking this in the bash script, python checks whether there are any
actual wheels to build and skips the script if there are none.
+ added universal_newlines=True when making the call to grab the package name -
this fix is required for python3 since other a bytes prefix (b'') will be
added to the package name
+ In the linux/docker environment, added a try/catch statement around the
docker script for KeyboardInterrupt that will kill the docker subprocess in
cases where cibuildwheel is being run interactively.
+ urllib2 doesn't exist in python 3 - import from urllib.request instead
+ for linux builds open docker process with universal_newlines; this
opens a pipe in 'text' mode using the default preferred encoding
* before_build:
Add documentation for CIBW_BEFORE_BUILD
Fix os/sys typo and use an absolute path on *nix too
Change version file path to absolute on Windows
Perhaps a filename collision
Check the path is okay on windows
remove redundant line
A little more debugging info for Windows
Add before_build option, that runs a shell command before 'pip wheel'
Don't run tests in a subshell so the errexit option applies
Run the pip version check in the right env
# Conflicts:
# README.md