Re: [Python.NET] DocStringAttribute Example

2014-03-18 Thread Jonno
gt; >> David >> >> >> >> *From:* PythonDotNet [mailto:pythondotnet-bounces+anthoff= >> berkeley....@python.org] *On Behalf Of *Jonno >> *Sent:* Thursday, March 13, 2014 2:35 PM >> *To:* A list for users and developers of Python for .NET >> *S

Re: [Python.NET] DocStringAttribute Example

2014-03-15 Thread Jonno
. > > > > Best, > > David > > > > *From:* PythonDotNet [mailto:pythondotnet-bounces+anthoff= > berkeley@python.org] *On Behalf Of *Jonno > *Sent:* Thursday, March 13, 2014 2:35 PM > *To:* A list for users and developers of Python for .NET > *Subject:* Re: [Python.NET

Re: [Python.NET] DocStringAttribute Example

2014-03-13 Thread David Anthoff
: A list for users and developers of Python for .NET Subject: Re: [Python.NET] DocStringAttribute Example I'm afraid it didn't work for me. I got a ton of errors. Many type or namespaces couldn't be found (NUnit + many more). On Thu, Mar 13, 2014 at 11:33 AM, Tony R

Re: [Python.NET] DocStringAttribute Example

2014-03-13 Thread Jonno
t; > John > > > > *From:* PythonDotNet [mailto:pythondotnet-bounces+jgill= > tokiomillennium@python.org] *On Behalf Of *Jonno > *Sent:* Thursday, March 13, 2014 10:57 AM > *To:* A list for users and developers of Python for .NET > *Subject:* Re: [Python.NET] DocStringAttr

Re: [Python.NET] DocStringAttribute Example

2014-03-13 Thread Jonno
I'm afraid it didn't work for me. I got a ton of errors. Many type or namespaces couldn't be found (NUnit + many more). On Thu, Mar 13, 2014 at 11:33 AM, Tony Roberts wrote: > That's a fairly old version. The project's in a bit of a transition stage > at the moment. If you want to try out the l

Re: [Python.NET] DocStringAttribute Example

2014-03-13 Thread David Anthoff
installed via pip soon. Best, David From: PythonDotNet [mailto:pythondotnet-bounces+anthoff=berkeley@python.org] On Behalf Of Jonno Sent: Thursday, March 13, 2014 6:57 AM To: A list for users and developers of Python for .NET Subject: Re: [Python.NET] DocStringAttribute Example Also

Re: [Python.NET] DocStringAttribute Example

2014-03-13 Thread Tony Roberts
That's a fairly old version. The project's in a bit of a transition stage at the moment. If you want to try out the latest version (still in development) you should get the code from github https://github.com/pythonnet/pythonnet (use the develop branch) and build it yourself using the setup.py scri

Re: [Python.NET] DocStringAttribute Example

2014-03-13 Thread John Gill
, 2014 10:57 AM To: A list for users and developers of Python for .NET Subject: Re: [Python.NET] DocStringAttribute Example Also when using clr.pyd from pythonnet-2.0-Beta0-clr4.0_140_py27_UCS2_x86.zip I cannot import clr. I get the following error: "dynamic module not initialized properly&qu

Re: [Python.NET] DocStringAttribute Example

2014-03-13 Thread Jonno
Only way I could get this to work is to copy the files: clr.pyd, nPython.exe, Python.Runtime.dll to the directory c:\Python27 (rather than c:\Python27\DLLs). Does anyone know why this would not work? Using sys.path.append() while keeping the files elsewhere also doesn't work. On Thu, Mar 13, 201

Re: [Python.NET] DocStringAttribute Example

2014-03-13 Thread Jonno
Is it possible to compile the 2.0 Beta version containing the DocStringAttribute for clr version 2.0 or is there some incompatibility? I'm not familiar with how to build the pythondotnet source. On Wed, Mar 12, 2014 at 11:59 AM, Jonno wrote: > My mistake Tony, > > I was using the 2.0 CLR versi

Re: [Python.NET] DocStringAttribute Example

2014-03-13 Thread Jonno
Also when using clr.pyd from pythonnet-2.0-Beta0-clr4.0_140_py27_UCS2_x86.zip I cannot import clr. I get the following error: "dynamic module not initialized properly" I'm on CPython 2.7.5, Win7 32bit. Can anyone suggest what might be causing this? I have .NET Framework 4.5 installed. On Wed, Mar

Re: [Python.NET] DocStringAttribute Example

2014-03-13 Thread Jonno
My mistake Tony, I was using the 2.0 CLR version of pythondotnet which doesn't have the DocStringAttribute class. On Wed, Mar 12, 2014 at 9:46 AM, Tony Roberts wrote: > Hi, > > have you added the Python.Runtime to your project references? Take a look > at the Python.Test project that's used by

Re: [Python.NET] DocStringAttribute Example

2014-03-12 Thread Tony Roberts
Hi, have you added the Python.Runtime to your project references? Take a look at the Python.Test project that's used by the unit tests if you're not sure how to set up your project. cheers, Tony On Wed, Mar 12, 2014 at 2:33 PM, Jonno wrote: > Thanks Tony, > > This is probably my ignorance of

Re: [Python.NET] DocStringAttribute Example

2014-03-12 Thread Jonno
Thanks Tony, This is probably my ignorance of C# but I get the following error using the same syntax as the example: The type or namespace name 'DocStringAttribute' could not be found (are you missing a using directive or an assembly reference?) I have the: using Python.Runtime statement. On F

Re: [Python.NET] DocStringAttribute Example

2014-03-07 Thread Tony Roberts
Hi, if your class has a constructor then the class docstring will get replaced with a description of the constructor, even if you explicitly gave the class a docstring using DocStringAttribute. I've created an issue for github for this and fixed it: https://github.com/pythonnet/pythonnet/issues/1