Neaten the environment modification using triple-quotes and dict.update
This commit is contained in:
@@ -11,8 +11,10 @@ def test():
|
||||
env = os.environ.copy()
|
||||
# change the docker images to use. The docker image is tested in setup.py
|
||||
# during the build
|
||||
env['CIBW_MANYLINUX1_X86_64_IMAGE'] = 'dockcross/manylinux-x64'
|
||||
env['CIBW_MANYLINUX1_I686_IMAGE'] = 'dockcross/manylinux-x86'
|
||||
env.update({
|
||||
'CIBW_MANYLINUX1_X86_64_IMAGE': 'dockcross/manylinux-x64',
|
||||
'CIBW_MANYLINUX1_I686_IMAGE': 'dockcross/manylinux-x86',
|
||||
})
|
||||
|
||||
# build the wheels
|
||||
subprocess.check_call([sys.executable, '-m', 'cibuildwheel', project_dir], env=env)
|
||||
|
||||
Reference in New Issue
Block a user