Merge branch 'set-cibw-env-variable' of https://github.com/mayeut/cibuildwheel into mayeut-set-cibw-env-variable

This commit is contained in:
Joe Rickerby
2017-09-07 18:31:21 +01:00
4 changed files with 22 additions and 0 deletions
+5
View File
@@ -1,5 +1,10 @@
import os
from setuptools import setup, Extension
if os.environ.get('CIBUILDWHEEL', '0') != '1':
raise Exception('CIBUILDWHEEL environment variable is not set to 1')
setup(
name="spam",
ext_modules=[Extension('spam', sources=['spam.c'])],