Files
cibuildwheel/test/01_basic/setup.py
T
2020-02-14 15:50:06 +00:00

16 lines
290 B
Python

import os
from setuptools import (
Extension,
setup,
)
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",
)