First try at implementing optionsfor allowing different manylinux1 docker images

This commit is contained in:
Yannick Jadoul
2017-10-29 11:47:38 +01:00
parent 6bbef964c9
commit 4e0b3c0f31
5 changed files with 71 additions and 4 deletions
+12
View File
@@ -0,0 +1,12 @@
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'])],
version="0.1.0",
)