<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
To date, for .NET 2 and beyond, folks have been building the <a
title="Fold directory" rel="/pythonnet/" class="dirlink
direxpanded">pythonnet-2.0-alpha2-clr2.0 from the source files.</a><br>
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.<br>
<br>
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).<br>
Here are some tips in case that doesn't work:<br>
The clr.pyd module and Python.Runtime.dll must be in a place where
the python interpreter can find them.<br>
A handy test would be to put them both in the same directory as the
currently executing script (the one with<br>
import clr<br>
) is located.<br>
Python will also look in several other places (besides the current
working directory) such as<br>
C:\Python25\DLLs<br>
and<br>
C:\Python25\Lib\site-packages<br>
Both are acceptable places, but site-packages is the preferred way
of extending python.<br>
<br>
Give me a day or so to get the build uploaded and let us know how
things are working out.<br>
<br>
-Barton<br>
<br>
<br>
On 9/10/2010 3:03 AM, Morne Joubert wrote:
<blockquote
cite="mid:F17E4AD5E3CA7644BDA528747AD4C0E0098E93A8@XCH23LHR.rim.net"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered
medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
-->
</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am totally new with Python and need some
pointers on how
to get Python 2.5 to call a .NET 2.0 assembly.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have been using the normal python
distribution c:\python25
(using pyDev and Eclipse) <o:p></o:p></p>
<p class="MsoNormal">I installed python .NET at C:\Program
Files\PythonNet and
then pointed pyDev at this folder but then it complained about
language errors.<o:p></o:p></p>
<p class="MsoNormal">I assume this is due to the differences
between Python 2.3
and 2.5<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">So my question in a nutshell is….<o:p></o:p></p>
<p class="MsoNormal">What do I need to do to get Python 2.5 to
call a .NET 2.0
assemble ?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Do I need to somehow rebuild Python.NET ?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Best regards,<o:p></o:p></p>
<p class="MsoNormal"><span style="font-size: 10.5pt;
font-family: Consolas;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10.5pt;
font-family: Consolas;">Morné
Joubert</span><o:p></o:p></p>
</div>
---------------------------------------------------------------------
<br>
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.
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_________________________________________________
Python.NET mailing list - <a class="moz-txt-link-abbreviated" href="mailto:PythonDotNet@python.org">PythonDotNet@python.org</a>
<a class="moz-txt-link-freetext" href="http://mail.python.org/mailman/listinfo/pythondotnet">http://mail.python.org/mailman/listinfo/pythondotnet</a></pre>
</blockquote>
</body>
</html>