Compare commits

...
2 Commits
Author SHA1 Message Date
Joe Rickerby c53d79557e Bump version 2017-03-31 10:20:43 +01:00
Joe Rickerby 510229177a Remove some debug code that was breaking the build 2017-03-31 09:58:28 +01:00
4 changed files with 5 additions and 10 deletions
+2 -2
View File
@@ -44,7 +44,7 @@ Usage
- os: osx - os: osx
script: script:
- pip install cibuildwheel==0.1.2 - pip install cibuildwheel==0.1.3
- cibuildwheel --output-dir wheelhouse - cibuildwheel --output-dir wheelhouse
``` ```
@@ -54,7 +54,7 @@ Usage
``` ```
build_script: build_script:
- pip install cibuildwheel==0.1.2 - pip install cibuildwheel==0.1.3
- cibuildwheel --output-dir wheelhouse - cibuildwheel --output-dir wheelhouse
artifacts: artifacts:
- path: "wheelhouse\\*.whl" - path: "wheelhouse\\*.whl"
+1 -6
View File
@@ -43,7 +43,6 @@ def build(project_dir, package_name, output_dir, test_command, test_requires):
# install pip & wheel # install pip & wheel
shell([python, '-m', 'ensurepip', '--upgrade'], env=env) shell([python, '-m', 'ensurepip', '--upgrade'], env=env)
shell(['which', pip], env=env) # todo: remove
shell([pip, '--version']) shell([pip, '--version'])
shell([pip, 'install', 'wheel'], env=env) shell([pip, 'install', 'wheel'], env=env)
shell([pip, 'install', 'delocate'], env=env) shell([pip, 'install', 'delocate'], env=env)
@@ -63,15 +62,11 @@ def build(project_dir, package_name, output_dir, test_command, test_requires):
# test the wheel # test the wheel
if test_requires: if test_requires:
shell([pip, '-v', 'install'] + test_requires, env=env) shell([pip, 'install'] + test_requires, env=env)
if test_command: if test_command:
# run the tests from $HOME, with an absolute path in the command # run the tests from $HOME, with an absolute path in the command
# (this ensures that Python runs the tests against the installed wheel # (this ensures that Python runs the tests against the installed wheel
# and not the repo code) # and not the repo code)
abs_project_dir = os.path.abspath(project_dir) abs_project_dir = os.path.abspath(project_dir)
test_command_absolute = test_command.format(project=abs_project_dir) test_command_absolute = test_command.format(project=abs_project_dir)
shell(['which', 'nosetests'], env=env) # todo: remove
shell(['which', 'nosetests'], cwd=os.environ['HOME'], env=env) # todo: remove
shell(['nosetests', '-v'], env=env) # todo: remove
shell(['nosetests', '-v'], cwd=os.environ['HOME'], env=env) # todo: remove
shell(shlex.split(test_command_absolute), cwd=os.environ['HOME'], env=env) shell(shlex.split(test_command_absolute), cwd=os.environ['HOME'], env=env)
+1 -1
View File
@@ -1,5 +1,5 @@
[bumpversion] [bumpversion]
current_version = 0.1.2 current_version = 0.1.3
commit = True commit = True
tag = True tag = True
message = Bump version message = Bump version
+1 -1
View File
@@ -8,7 +8,7 @@ except ImportError:
setup( setup(
name='cibuildwheel', name='cibuildwheel',
version='0.1.2', version='0.1.3',
description="Build Python wheels on CI with minimal configuration.", description="Build Python wheels on CI with minimal configuration.",
long_description='For readme please see http://github.com/joerick/cibuildwheel', long_description='For readme please see http://github.com/joerick/cibuildwheel',
author="Joe Rickerby", author="Joe Rickerby",