#!/usr/bin/env python

"""
setup.py file for helium-client-python
"""

from distutils.core import setup, Extension

sourcefiles = ['src/helium_client.c',
               'src/helium-serial.c',
               'src/helium-client/helium-client.c',
               'src/helium-client/cauterize/atom_api.c',
               'src/helium-client/cauterize/atom_api_message.c',
               'src/helium-client/cauterize/cauterize.c']

extensions = [Extension('helium_client',
                        include_dirs=['src/helium-client'],
                        sources=sourcefiles)]

setup(name='helium-client',
      version='0.1',
      author="Helium Client",
      description="""Python interface to the Helium Atom""",
      ext_modules=extensions)

@@ -519,16 +519,54 @@
 ient'%5D,%0A
+%09%09%09extra_compile_args=%5B'-std=gnu99'%5D,%0A
         

Add gnu99 build flag for linuxy builds