Add CIBW_PLATOFRM environment variable

This commit is contained in:
Joe Rickerby
2017-03-23 11:19:14 +00:00
parent c230a6d3ce
commit 21c53fed74
+1 -1
View File
@@ -11,7 +11,7 @@ def main():
parser.add_argument('--platform',
choices=['auto', 'linux', 'macos', 'windows'],
default='auto',
default=os.environ.get('CIBW_PLATFORM', 'auto'),
help=('Platform to build for. For "linux" you need docker running, on Mac '
'or Linux. For "macos", you need a Mac machine, and note that this '
'script is going to automatically install MacPython on your system, '