2017-12-24 12:53:10 +00:00
|
|
|
import os, sys
|
2017-10-29 11:30:29 +01:00
|
|
|
|
|
|
|
|
from setuptools import setup, Extension
|
|
|
|
|
|
2018-11-29 02:44:19 +00:00
|
|
|
# check that we're running in the correct docker image as specified in the
|
|
|
|
|
# environment options CIBW_MANYLINUX1_*_IMAGE
|
|
|
|
|
if 'linux' in sys.platform and not os.path.exists('/dockcross'):
|
|
|
|
|
raise Exception('/dockcross directory not found. Is this test running in the correct docker image?')
|
|
|
|
|
|
2017-10-29 11:30:29 +01:00
|
|
|
setup(
|
|
|
|
|
name="spam",
|
|
|
|
|
ext_modules=[Extension('spam', sources=['spam.c'])],
|
|
|
|
|
version="0.1.0",
|
|
|
|
|
)
|