distutils problem: using wrong compiler and specs

2007-11-17 Thread Grant Edwards
I've got a system where I try to install extensions using /usr/local/bin/python setup.py install But, it fails when it tries to use a non-existant compiler path and specs file. I suspect it's trying to use the compieler that was used to build /usr/bin/python. How do I get it to use the compil

Re: distutils problem windows xp python 2.4.2

2005-12-06 Thread [EMAIL PROTECTED]
Hello, I have .net framework 2.0 because I' already able to run visual studio express 2005. Should I install .net framework 1.1 and also ms toolkit ? Sincerely Yours, pujo -- http://mail.python.org/mailman/listinfo/python-list

Re: distutils problem windows xp python 2.4.2

2005-12-05 Thread Scott David Daniels
[EMAIL PROTECTED] wrote: ... > *** Failed: error: The .NET Framework SDK needs to be installed before > building extensions for Python. ... It is so much easier with the actual error messages. Ah-ha -- you installed the compiler but not the .NET Framework. You have more downloading and installing

Re: distutils problem windows xp python 2.4.2

2005-12-05 Thread [EMAIL PROTECTED]
Hello, It give the same error result: D:\testprogram\distutils problem>setup build running build running build_ext *** Failed: error: The .NET Framework SDK needs to be installed before building extensions for Python. Attempting to patch distutils.msvccompiler and retry: running build runn

Re: distutils problem windows xp python 2.4.2

2005-12-04 Thread Scott David Daniels
[EMAIL PROTECTED] wrote: > It didn't work with visual studio 5. .Net framework 2.0 > Do you have any suggestions? "It didn't work" is not very diagnosable. --Scott David Daniels [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: distutils problem windows xp python 2.4.2

2005-12-04 Thread [EMAIL PROTECTED]
Hello Scott, It didn't work with visual studio 5. .Net framework 2.0 Do you have any suggestions? Thanks, pujo -- http://mail.python.org/mailman/listinfo/python-list

Re: distutils problem windows xp python 2.4.2

2005-12-03 Thread Scott David Daniels
[EMAIL PROTECTED] wrote: > Hello I tried to combine c++ and python together. > So I follow from this website: > http://kortis.to/radix/python_ext/ > > and my setup.py file: > from distutils.core import setup, Extension > module = Extension('pr', sources = ['prmodule.c']) > setup(name = 'Pr te

distutils problem windows xp python 2.4.2

2005-12-03 Thread [EMAIL PROTECTED]
Hello I tried to combine c++ and python together. So I follow from this website: http://kortis.to/radix/python_ext/ I have this code: # prmodule.c static PyObject *pr_isprime(PyObject *self, PyObject *args){ int n, input; if (!PyArg_ParseTuple(args, "i", &input)) return

Re: Wrapping C functions in Pyrex and distutils problem

2005-11-09 Thread Diez B. Roggisch
Use additional_objects: LINKBASE = "link-4.1b" setup( name = "LinkWrapper", ext_modules = [ Extension("link", ["link.pyx"], include_dirs = ["%s/include" % LINKBASE], extra_objects = glob.glob("%s/obj/*" % LINKBASE), ) ], cmdclass

Wrapping C functions in Pyrex and distutils problem

2005-11-09 Thread TPJ
I'm trying to get a wrapper for my C code in order to be able to use it as a module in Python. I'm doing it as follows: C code (file_c.c): --- #include void hello( int size ) { printf("Hello! %d\n", size); } --- Pyrex code (file.pyx): ---

distutils problem

2005-09-16 Thread Michele Petrazzo
I create a setup script for distribute my application, but I have a problems with the exe package. When I create the package with: python setup.py win bdist_wininst and execute if after, it'll copy the data file specified by data_files directive into the C:\python23\python23\lib\site-package\my_l