[Python.NET] New: Python 2.5 support

Barton barton at BCDesignsWell.com
Sat Sep 11 08:06:34 CEST 2010

  To date, for .NET 2 and beyond, folks have been building the 
pythonnet-2.0-alpha2-clr2.0 from the source files.
Now that I have access to the SourceForge project, it seems like it's 
time for me to build a binary release. I should be able to find the time 
this weekend to do the build and get them uploaded.  I will not be 
building an installer, however.

Once you have gotten the Python 2.5 .NET 2.0 binaries, it is likely that 
your pydev thing may work (I won't touch anything written in Java, myself).
Here are some tips in case that doesn't work:
The clr.pyd module and Python.Runtime.dll must be in a place where the 
python interpreter can find them.
A handy test would be to put them both in the same directory as the 
currently executing script (the one with
import clr
) is located.
Python will also look in several other places (besides the current 
working directory) such as
Both are acceptable places, but site-packages is the preferred way of 
extending python.

Give me a day or so to get the build uploaded and let us know how things 
are working out.


On 9/10/2010 3:03 AM, Morne Joubert wrote:
> Hi,
> I am totally new with Python and need some pointers on how to get 
> Python 2.5 to call a .NET 2.0 assembly.
> I have been using the normal python distribution c:\python25 (using 
> pyDev and Eclipse)
> I installed python .NET at C:\Program Files\PythonNet and then pointed 
> pyDev at this folder but then it complained about language errors.
> I assume this is due to the differences between Python 2.3 and 2.5
> So my question in a nutshell is....
> What do I need to do to get Python 2.5 to call a .NET 2.0 assemble ?
> Do I need to somehow rebuild Python.NET ?
> Best regards,
> Morné Joubert
> ---------------------------------------------------------------------
> This transmission (including any attachments) may contain confidential 
> information, privileged material (including material protected by the 
> solicitor-client or other applicable privileges), or constitute 
> non-public information. Any use of this information by anyone other 
> than the intended recipient is prohibited. If you have received this 
> transmission in error, please immediately reply to the sender and 
> delete this information from your system. Use, dissemination, 
> distribution, or reproduction of this transmission by unintended 
> recipients is not authorized and may be unlawful.
> _________________________________________________
> Python.NET mailing list - PythonDotNet at python.org
> http://mail.python.org/mailman/listinfo/pythondotnet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythondotnet/attachments/20100910/c1e4f3d8/attachment.html>

More information about the PythonDotNet mailing list