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
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
[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
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
[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
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
[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
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
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
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):
---
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
11 matches
Mail list logo