from distutils.core import setup, Extension 
import os
#name of module 
name  = "gfg"
os.environ["CC"] = "g++-4.8"
os.environ["CXX"] = "g++-4.8"
#version of module 
version = "1.0"

import numpy

# Obtain the numpy include directory.  This logic works across numpy versions.
try:
    numpy_include = numpy.get_include()
except AttributeError:
    numpy_include = numpy.get_numpy_include()

# specify the name of the extension and source files 
# required to compile this 
ext_modules = Extension(name='_gfg',sources=["gfg.i","gfg.c"]) 
  
setup(name=name, 
      version=version, 
      ext_modules=[ext_modules]) 

from distutils.core import setup, Extension 
import os
#name of module 
name  = "gfg"
os.environ["CC"] = "g++-4.8"
os.environ["CXX"] = "g++-4.8"
#version of module 
version = "1.0"

import numpy

# Obtain the numpy include directory.  This logic works across numpy versions.
try:
    numpy_include = numpy.get_include()
except AttributeError:
    numpy_include = numpy.get_numpy_include()

# specify the name of the extension and source files 
# required to compile this 
ext_modules = Extension(name='_gfg',sources=["gfg.i","gfg.c"]) 
  
setup(name=name, 
      version=version, 
      ext_modules=[ext_modules]) 

#name of module #version of module # Obtain the numpy include directory.  This logic works across numpy versions. # specify the name of the extension and source files # required to compile this