Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c53d79557e | ||
|
|
510229177a |
@@ -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"
|
||||||
|
|||||||
@@ -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,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
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user