Files
cibuildwheel/test/01_basic/setup.py
T

16 lines
290 B
Python
Raw Normal View History

import os
2019-11-12 23:51:27 +00:00
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",
)