from distutils.core import setup, Extension
setup(name="fastcache", version="0.1",
      packages = ["fastcache", "fastcache.tests"],
      ext_modules= [Extension("fastcache._lrucache",
                    ["src/_lrucache.c"],
                    ),
                ]
      
  )

from distutils.core import setup, Extension
setup(name="fastcache", version="0.1",
      packages = ["fastcache", "fastcache.tests"],
      ext_modules= [Extension("fastcache._lrucache",
                    ["src/_lrucache.c"],
                    extra_compile_args=['-std=c99']),
                ]
      
  )

Fix travis build error by specifying compiler arg -std=c99
Fix travis build error by specifying compiler arg -std=c99

  from distutils.core import setup, Extension
  setup(name="fastcache", version="0.1",
        packages = ["fastcache", "fastcache.tests"],
        ext_modules= [Extension("fastcache._lrucache",
                      ["src/_lrucache.c"],
-                     ),
+                     extra_compile_args=['-std=c99']),
                  ]
        
    )
  
Fix travis build error by specifying compiler arg -std=c99
## Code Before:
from distutils.core import setup, Extension
setup(name="fastcache", version="0.1",
      packages = ["fastcache", "fastcache.tests"],
      ext_modules= [Extension("fastcache._lrucache",
                    ["src/_lrucache.c"],
                    ),
                ]
      
  )

## Instruction:
Fix travis build error by specifying compiler arg -std=c99
## Code After:
from distutils.core import setup, Extension
setup(name="fastcache", version="0.1",
      packages = ["fastcache", "fastcache.tests"],
      ext_modules= [Extension("fastcache._lrucache",
                    ["src/_lrucache.c"],
                    extra_compile_args=['-std=c99']),
                ]
      
  )
