Re: Using distutils in Windows XP / "Python in a Nutshell"

2006-04-23 Thread Alex Martelli
Blair LeGent <[EMAIL PROTECTED]> wrote: > Following the directions in "Python in a Nutshell" (an excellent book), Thanks! > I entered the C code for "helloworld.c", saved it as a file, and entered > this script and saved it as setup.py: > > from distutils.core import setup, Extension > setup(na

Re: Using distutils in Windows XP / "Python in a Nutshell"

2006-04-23 Thread Edward Elliott
Blair LeGent wrote: > error: The .NET Framework SDK needs to be installed before building > extensions for Python. > > ...but the .NET Framework IS installed Just a guess, but is the C compiler in your PATH when you run python? I'm assuming python on xp still uses environment variables and not

Using distutils in Windows XP / "Python in a Nutshell"

2006-04-23 Thread Blair LeGent
Following the directions in "Python in a Nutshell" (an excellent book), I entered the C code for "helloworld.c", saved it as a file, and entered this script and saved it as setup.py: from distutils.core import setup, Extension setup(name='helloworld', ext_modules= [ Extension('helloworld',sourc