Re: PYTHONPATH on Windows XP module load problem

2009-05-21 Thread Andreas Otto
Hi, I solved the problem ... thank you for your help mfg Andreas Otto -- http://mail.python.org/mailman/listinfo/python-list

Re: PYTHONPATH on Windows XP module load problem

2009-05-20 Thread Andreas Otto
Hi, I setup the PYTHONPATH environment variable too does windows use this variable ? mfg Andreas Otto -- http://mail.python.org/mailman/listinfo/python-list

Re: PYTHONPATH on Windows XP module load problem

2009-05-20 Thread Scott David Daniels
Andreas Otto wrote: I have done additional research. 1. setup a "setup.py" script 2. compiled the extension 3. copy the extension to the test directory -> cp ../pymsgque/build/lib.win32-3.0-pydebug/pymsgque.pyd . This doesn't work. Windows is beseiged by trojan writers.

Re: PYTHONPATH on Windows XP module load problem

2009-05-20 Thread Andreas Otto
Hi, after we know how your "bathroom" looks like ... I have done additional research. 1. setup a "setup.py" script 2. compiled the extension 3. copy the extension to the test directory -> cp ../pymsgque/build/lib.win32-3.0-pydebug/pymsgque.pyd .

Re: PYTHONPATH on Windows XP module load problem

2009-05-20 Thread Andreas Otto
Hi, I try to use "distutils" and "setup.py" to create an C extension Now a list of problems: 1. I'm using automake, autoconf to setup the build-environment for example CPPFLAGS -> how can I transport the CPPFLAGS on the commandline to setup.py I c

Re: PYTHONPATH on Windows XP module load problem

2009-05-19 Thread Scott David Daniels
Andreas Otto wrote: Does this help? http://pyfaq.infogami.com/is-a-pyd-file-the-same-as-a-dll this link is nice but I'm still confused ... 1. on LINUX I create a "pymsgque.so" and I can load this library with "import pymsgque" And my bathroom is covered in wallpaper. 2. in WIN

Re: PYTHONPATH on Windows XP module load problem

2009-05-19 Thread Christian Heimes
Andreas Otto wrote: > 1. on LINUX I create a "pymsgque.so" and I can load this library > with "import pymsgque" > > 2. in WINDOWS, I expect to create a "pymsgque.dll" and do the > same as on unix "import pymgque" > > -> is this behaviour is supported or not ??? > >

Re: PYTHONPATH on Windows XP module load problem

2009-05-19 Thread Andreas Otto
MRAB wrote: > Andreas Otto wrote: >> Hi, >> >> I have the following problem using python on windows. >> I crated a binary extension called >> >> pymsgque.dll >> >> on windows. The same extension works fine on UNIX/Linux. >> >> The problem is on Windows. The build is no problem

Re: PYTHONPATH on Windows XP module load problem

2009-05-19 Thread MRAB
Andreas Otto wrote: Hi, I have the following problem using python on windows. I crated a binary extension called pymsgque.dll on windows. The same extension works fine on UNIX/Linux. The problem is on Windows. The build is no problem but python is not able to load this exte

PYTHONPATH on Windows XP module load problem

2009-05-19 Thread Andreas Otto
Hi, I have the following problem using python on windows. I crated a binary extension called pymsgque.dll on windows. The same extension works fine on UNIX/Linux. The problem is on Windows. The build is no problem but python is not able to load this extension with im