Re: PyD status and tutorials

2013-09-06 Thread Johannes Pfau
Am Thu, 05 Sep 2013 04:49:04 +0200 schrieb Ellery Newcomer ellery-newco...@utulsa.edu: Since I've been out of the loop for a while, can gdc build shared libraries yet? That's what OP's build command is trying to do. Unfortunately no. Although the relocation error looks like a regression we

Re: PyD status and tutorials

2013-09-04 Thread Ellery Newcomer
On Saturday, 31 August 2013 at 15:44:03 UTC, Russel Winder wrote: On Sat, 2013-08-31 at 12:56 +0200, Larry wrote: Ok python3-dev was missing. Are you using Python 3.3? Are you using SCons or Tup for the build? I just tried the SCons build OOTB and it fails to build PyD with DMD :-( Ehh,

Re: PyD status and tutorials

2013-08-31 Thread Larry
Ok python3-dev was missing. Now, it is a gdc problem: [code] def: hello wrap_struct: 'RangeWrapper' class.def: __iter__ class.def: next wrapped_struct_init, S is 'struct pyd.make_object.RangeWrapper' library_dirs: [] runtime_library_dirs: [] libraries: [] gdc -fPIC -nostartfiles -shared -fdebug

Re: PyD status and tutorials

2013-08-31 Thread Russel Winder
On Sat, 2013-08-31 at 12:56 +0200, Larry wrote: Ok python3-dev was missing. Are you using Python 3.3? Are you using SCons or Tup for the build? I just tried the SCons build OOTB and it fails to build PyD with DMD :-( -- Russel.

Re: PyD status and tutorials

2013-08-30 Thread Larry
Hello, Not working here on a Debian sid : gdc -fproperty -c -fversion=Python_2_4_Or_Later -fversion=Python_2_5_Or_Later -fversion=Python_2_6_Or_Later -fversion=Python_2_7_Or_Later -fversion=Python_3_0_Or_Later -fversion=Python_3_1_Or_Later -fversion=Python_3_2_Or_Later

Re: PyD status and tutorials

2013-08-30 Thread Larry
Ah, forgot to say : I executed python3.3 setup.py pydexe --compiler=gdc Any other way won't work. tried hacking dcompiler.py in the python local packages, no luck. Libraries won't be taken into account. May I read something wrong..

Re: PyD status and tutorials

2013-04-04 Thread Joseph Rushton Wakeling
On 04/04/2013 05:50 AM, Ellery Newcomer wrote: Actually, it looks like pyd is working just fine with gdc built from master That's what I wondered -- I was guessing that it's frontend version that matters, not backend. so have some randomly diced NetworkX Quick Example: Really nice of you to

PyD status and tutorials

2013-04-03 Thread Joseph Rushton Wakeling
Hello all, Can anyone advise on where things stand with PyD, in terms of Python version(s) supported, D version(s) supported, general up-to-dateness and stability? The writeups on the Dsource page http://pyd.dsource.org/ look like they haven't been maintained in a long time, so I presume the

Re: PyD status and tutorials

2013-04-03 Thread Ellery Newcomer
Hi. Yes, the bitbucket repo is up to date (or was, a month ago. I've been a bit busy..). It looks like you want to embed python into D, in which case the situation is better than the main page suggests. Pyd supports * CPython - 2.4 through 3.2 * dmd 2.060+ * ldc {whatever is based on dmdfe

Re: PyD status and tutorials

2013-04-03 Thread Ellery Newcomer
On 04/03/2013 05:58 PM, Ellery Newcomer wrote: Somehow I still haven't gotten around to building gdc yet, but supporting gdc for embedding python would just be a matter of updating the CeleriD configurations and ensuring everything links. Might as well do that tonight. Stay tuned. Actually,