Is this the right mailing list for asking questions about how to use distutils?

How do I specify the header files in a setup.py script for a Python extension module? Listing them with source files as follows does not work.

    from distutils.core import setup, Extension
    from glob import glob

    setup(
        name = "Foo",
        version = "0.1.0",
ext_modules = [Extension('Foo', glob('Foo/*.cpp') + glob('Foo/*.h'))]
    )

But I can not figure out where else to list them.

--Johan

_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to