#!/usr/local/bin/python3

from distutils.core import setup, Extension

setup(
    name = 'lazy',
    version = '1.0',
    description = 'Lazy',
    ext_modules = [
        Extension(
            name = 'b._collections',
            sources = [
                'src/collections.c',
            ],
        ),
        Extension(
            name = 'b._types',
            depends = [
                'include/memoizer.h',
                ],
            include_dirs = [
                'include',
            ],
            sources = [
                'src/memoizer.c',
                'src/types.c',
            ],
        ),
    ],
)

#!/usr/local/bin/python3

from distutils.core import setup, Extension

# Workaround -Werror=statement-after-declaration
# http://bugs.python.org/issue18211
import os
os.environ['CFLAGS'] = '-Wno-unused-result'

setup(
    name = 'lazy',
    version = '1.0',
    description = 'Lazy',
    ext_modules = [
        Extension(
            name = 'b._collections',
            sources = [
                'src/collections.c',
            ],
        ),
        Extension(
            name = 'b._types',
            depends = [
                'include/memoizer.h',
            ],
            include_dirs = [
                'include',
            ],
            sources = [
                'src/memoizer.c',
                'src/types.c',
            ],
        ),
    ],
)

Disable strict C90 flag that appears to be accidentally being used by distutils
Disable strict C90 flag that appears to be accidentally being used by distutils
