[Distutils] error: invalid distribution option 'extensions'

Lyle Johnson ljohnson at resgen.com
Thu Oct 26 14:41:35 EDT 2000


Umm, in Thomas' defense, *you* might want to read the documentation
yourself:


http://www.python.org/sigs/distutils-sig/doc/dist/describing-extensions.html

But of course, it is wrong :)

"Berthold Höllmann" <bhoel at starship.python.net> wrote in message
news:m2vgugaz6k.fsf at pchoel.privat.uni-hamburg.de...
> >>>>> "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