<gh_stars>1-10
from distutils.core import setup
#from distutils.extension import Extension
from Pyrex.Distutils.extension import Extension
from Pyrex.Distutils import build_ext

setup(
  name = 'Demos',
  ext_modules=[ 
    Extension("primes",       ["primes.pyx"]),
    Extension("spam",         ["spam.pyx"]),
    Extension("numeric_demo", ["numeric_demo.pyx"]),
    ],
  cmdclass = {'build_ext': build_ext}
)

from distutils.core import setup
#from distutils.extension import Extension
from Pyrex.Distutils.extension import Extension
from Pyrex.Distutils import build_ext

setup(
  name = 'Demos',
  ext_modules=[ 
    Extension("primes",       ["primes.pyx"]),
    Extension("spam",         ["spam.pyx"]),
    Extension("numeric_demo", ["numeric_demo.pyx"]),
    ],
  cmdclass = {'build_ext': build_ext}
)
#from distutils.extension import Extension