[Distutils] error: invalid distribution option 'extensions'

Berthold Höllmann bhoel at starship.python.net
Thu Oct 26 02:34:11 EDT 2000


>>>>> "Thomas" == Thomas Gagne <tgagne at ix.netcom.com> writes:

    Thomas> The setup.py: from distutils.core import setup, Extension

    Thomas> setup (name = "isect", version = "1.0", description =
    Thomas> "Python interface to isect", author = "Thomas Gagne",
    Thomas> author_email = "tgagne at ix.netcom.com", url =
    Thomas> "http://home.netcom.com/~tgagne", py_modules = [
    Thomas> "CStructure", "IsdIO", "echo", "isdclient"], extensions =
    Thomas> [Extension("isdio", ["isdio.c"])])

    Thomas> and the result:

    Thomas> $python setup.py sdist error in setup script: invalid
    Thomas> distribution option 'extensions'

How about reading the actual documentation?

ext_modules = [Extension("isdio", ["isdio.c"])

Greetings

Berthold
-- 
bhoel at starship.python.net / http://starship.python.net/crew/bhoel/
        It is unlawful to use this email address for unsolicited ads
        (USC Title 47 Sec.227). I will assess a US$500 charge for
        reviewing and deleting each unsolicited ad.



More information about the Python-list mailing list