Re: Pyd updates

2018-06-04 Thread Laeeth Isharc via Digitalmars-d
b.com/ariovistus/pyd https://github.com/ariovistus/pyd/wiki https://github.com/kaleidicassociates/autowrap makes using PyD a little simpler.

Re: Pyd updates

2018-06-03 Thread Norm via Digitalmars-d
b.com/ariovistus/pyd https://github.com/ariovistus/pyd/wiki Sorry I meant to post this link for the wiki: https://wiki.dlang.org/Programming_in_D_for_Python_Programmers

Re: Pyd updates

2018-06-03 Thread Norm via Digitalmars-d
ovide I am new to D I have been learning python for some time and thought Python and D would work well together. Also are there any Projects using it yet I would like to get involved and contribute if possible. Try this repo: https://github.com/ariovistus/pyd https://github.com/ariovistu

Re: Pyd updates

2018-06-03 Thread ROB via Digitalmars-d
On Wednesday, 12 July 2006 at 23:35:55 UTC, Kirk McDonald wrote: If anyone's interested, I just did some fairly major refactoring of how Pyd wraps functions. I've essentially written my own tuple/metaprogramming library. (Well, at least a limited one.) I'm not sure if the

Pyd extention with external dependancy

2018-02-17 Thread Samuel via Digitalmars-d
I have been trying to create a python extention using pyd and would like my D code to use an external library, in this case D-YAML. is there a way to tell pyd to include the lib when building the extention?

Re: (Possibly paid opportunity): PyD - Win 64

2017-12-06 Thread Atila Neves via Digitalmars-d
On Saturday, 2 December 2017 at 09:12:07 UTC, Thomas Mader wrote: On Friday, 1 December 2017 at 13:30:21 UTC, Laeeth Isharc wrote: Hi. I'd like to get PyD working on Windows 64. I think it's probably just a simple linking / library problem, but don't have time to work on it m

Re: (Possibly paid opportunity): PyD - Win 64

2017-12-05 Thread Laeeth Isharc via Digitalmars-d
On Saturday, 2 December 2017 at 09:12:07 UTC, Thomas Mader wrote: On Friday, 1 December 2017 at 13:30:21 UTC, Laeeth Isharc wrote: Hi. I'd like to get PyD working on Windows 64. I think it's probably just a simple linking / library problem, but don't have time to work on it m

Re: (Possibly paid opportunity): PyD - Win 64

2017-12-02 Thread Thomas Mader via Digitalmars-d
On Friday, 1 December 2017 at 13:30:21 UTC, Laeeth Isharc wrote: Hi. I'd like to get PyD working on Windows 64. I think it's probably just a simple linking / library problem, but don't have time to work on it myself right now. If somebody would be interested in helping, w

Re: (Possibly paid opportunity): PyD - Win 64

2017-12-02 Thread Nicholas Wilson via Digitalmars-d
On Friday, 1 December 2017 at 13:30:21 UTC, Laeeth Isharc wrote: Hi. I'd like to get PyD working on Windows 64. I think it's probably just a simple linking / library problem, but don't have time to work on it myself right now. If somebody would be interested in helping, w

(Possibly paid opportunity): PyD - Win 64

2017-12-01 Thread Laeeth Isharc via Digitalmars-d
Hi. I'd like to get PyD working on Windows 64. I think it's probably just a simple linking / library problem, but don't have time to work on it myself right now. If somebody would be interested in helping, we could pay for help on this. laeeth at kaleidic.io Thanks. Laeeth.

Re: pyd - continuous integration

2014-06-11 Thread Jacob Carlborg via Digitalmars-d
On 10/06/14 23:32, Ellery Newcomer wrote: Another thing I was envisioning is a web page that shows test results for each combination so that it is easy for a casual user to determine pyd's status. Does buildbot have this sort of thing? Travis CI does have that. But it currently doesn't support

Re: pyd - continuous integration

2014-06-10 Thread Ellery Newcomer via Digitalmars-d
On Tuesday, 10 June 2014 at 14:39:25 UTC, Atila Neves wrote: If you can spare the time / HW resources, I'd probably go with Vagrant and Buildbot, but then again I would since I'm familiar with both. Atila I stumbled on vagrant a few months ago but haven't had a chance to play with it yet. I

Re: pyd - continuous integration

2014-06-10 Thread Atila Neves via Digitalmars-d
6-09 at 22:37 +, Ellery Newcomer via Digitalmars-d wrote: So pyd is at the point where it really needs some sort of test suite runner. It's kind of complicated since I need to test against * multiple versions of dmd/ldc/gdc * multiple versions of python (2.4 - 3.4, but I'm thinking

Re: pyd - continuous integration

2014-06-10 Thread David Gileadi via Digitalmars-d
On 6/10/14, 1:31 AM, Russel Winder via Digitalmars-d wrote: On Mon, 2014-06-09 at 22:37 +, Ellery Newcomer via Digitalmars-d wrote: So pyd is at the point where it really needs some sort of test suite runner. It's kind of complicated since I need to test against * multiple versions o

Re: pyd - continuous integration

2014-06-10 Thread Jacob Carlborg via Digitalmars-d
On 10/06/14 00:37, Ellery Newcomer wrote: So pyd is at the point where it really needs some sort of test suite runner. It's kind of complicated since I need to test against * multiple versions of dmd/ldc/gdc * multiple versions of python (2.4 - 3.4, but I'm thinking of dropping 2.4 an

Re: pyd - continuous integration

2014-06-10 Thread Russel Winder via Digitalmars-d
On Mon, 2014-06-09 at 22:37 +, Ellery Newcomer via Digitalmars-d wrote: > So pyd is at the point where it really needs some sort of test > suite runner. It's kind of complicated since I need to test > against > > * multiple versions of dmd/ldc/gdc > * multiple versio

Re: pyd - continuous integration

2014-06-09 Thread Kapps via Digitalmars-d
On Monday, 9 June 2014 at 22:37:20 UTC, Ellery Newcomer wrote: So pyd is at the point where it really needs some sort of test suite runner. It's kind of complicated since I need to test against * multiple versions of dmd/ldc/gdc * multiple versions of python (2.4 - 3.4, but I'm t

Re: pyd - continuous integration

2014-06-09 Thread MattCoder via Digitalmars-d
On Monday, 9 June 2014 at 22:37:20 UTC, Ellery Newcomer wrote: So pyd is at the point where it really needs some sort of test suite runner. * multiple versions of python (2.4 - 3.4, but I'm thinking of dropping 2.4 and 2.5 this year) Well done! -If you want a suggestion I think you s

pyd - continuous integration

2014-06-09 Thread Ellery Newcomer via Digitalmars-d
So pyd is at the point where it really needs some sort of test suite runner. It's kind of complicated since I need to test against * multiple versions of dmd/ldc/gdc * multiple versions of python (2.4 - 3.4, but I'm thinking of dropping 2.4 and 2.5 this year) * redhat, ubuntu, os

Re: PyD status on fedora 19?

2013-11-29 Thread Ellery Newcomer
On Saturday, 30 November 2013 at 05:51:43 UTC, Ellery Newcomer wrote: use dmd. ldc doesn't support building shared libraries. also, use 2.063. I think compilation broke in 2.064 for some reason. I plan on fixing this next week.

Re: PyD status on fedora 19?

2013-11-29 Thread Ellery Newcomer
On Wednesday, 27 November 2013 at 16:37:36 UTC, Neal Becker wrote: Just trying PyD on fedora 19 x86_64. I install ldc (and friends) using yum. Then I did hg clone https://bitbucket.org/ariovistus/pyd Now after python setup.py install --user, I go to try hello:  [nbecker@nbecker7 hello

PyD status on fedora 19?

2013-11-27 Thread Neal Becker
Just trying PyD on fedora 19 x86_64. I install ldc (and friends) using yum. Then I did hg clone https://bitbucket.org/ariovistus/pyd Now after python setup.py install --user, I go to try hello:  [nbecker@nbecker7 hello]$ python tsetup.py build --compiler=ldc running build running build_ext

Re: PyD

2013-05-15 Thread Russel Winder
On Tue, 2013-05-14 at 19:32 -0700, Ellery Newcomer wrote: […] > Mmph. I've tried several build systems with pyd, and at the end of the > day, it only makes it that more difficult to set up a vm for testing, > hence CeleriD. OK, I will investigate more, thanks. > If people

Re: PyD

2013-05-14 Thread Ellery Newcomer
On 05/14/2013 08:05 AM, Russel Winder wrote: I wonder if it might be useful to ensure that SCons can be used as well / instead of CeleriD to compile the D code into a suitable form to be a CPython extensions? Mmph. I've tried several build systems with pyd, and at the end of the da

Re: PyD

2013-05-14 Thread 1100110
On 05/14/2013 10:05 AM, Russel Winder wrote: > Given that there is non-zero interest in using D to create extensions > for CPython, I wonder if it would be beneficial to spend a little time > updating all the pages on dsource to point at what is clearly the > mainline which is on mercurial. > > I

PyD

2013-05-14 Thread Russel Winder
Given that there is non-zero interest in using D to create extensions for CPython, I wonder if it would be beneficial to spend a little time updating all the pages on dsource to point at what is clearly the mainline which is on mercurial. I wonder if it might be useful to ensure that SCons can be

Re: PyD forum?

2013-02-19 Thread Ellery Newcomer
On 02/19/2013 06:55 AM, mrkafk wrote: First I apologize for bringing this topic up here, because that's obviously not quite correct forum - but can't find info anywhere else.. Is there any active forum/mailing list for PyD? Afraid not. This seems to have been abandoned: http://d

Re: PyD forum?

2013-02-19 Thread John Colvin
On Tuesday, 19 February 2013 at 14:55:03 UTC, mrkafk wrote: First I apologize for bringing this topic up here, because that's obviously not quite correct forum - but can't find info anywhere else.. Is there any active forum/mailing list for PyD? This seems to have been abando

PyD forum?

2013-02-19 Thread mrkafk
First I apologize for bringing this topic up here, because that's obviously not quite correct forum - but can't find info anywhere else.. Is there any active forum/mailing list for PyD? This seems to have been abandoned: http://dsource.org/forums/viewforum.php?f=95 But bitbucke

Re: Pyd thread

2012-11-15 Thread Maxim Fomin
On Thursday, 15 November 2012 at 02:51:08 UTC, Ellery Newcomer wrote: Just tried building a shared library on linux with dmd (and calling it from C). It works! Holy crap, it even runs my static constructors and unittests! I only had to screw with the linking process a little bit! It doesn't

Re: Pyd thread

2012-11-14 Thread Ellery Newcomer
Just tried building a shared library on linux with dmd (and calling it from C). It works! Holy crap, it even runs my static constructors and unittests! I only had to screw with the linking process a little bit! It doesn't work for x64, though. Gives me /usr/bin/ld: /usr/lib64/dmd/libphobos2.

Re: Pyd thread

2012-11-11 Thread Russel Winder
On Sat, 2012-11-10 at 14:08 -0800, Ellery Newcomer wrote: […] > Never used ctypes. How difficult would it be to get python > objects/functions to the extension side? As long as the code compiles to a shared object/dynamic link library and presents C-linkage entry points, Python code can call the

Re: Pyd thread

2012-11-10 Thread Ellery Newcomer
On 11/09/2012 11:33 PM, Russel Winder wrote: What is guaranteed now is that the ctypes package works in CPython and PyPy and would seem to be the right "API" for people interested in using Python with D. If the ctypes overhead is significant to the execution then writing a native code extension

Re: Pyd thread

2012-11-10 Thread Jakob Ovrum
On Saturday, 10 November 2012 at 06:22:57 UTC, Rob T wrote: I'm also gambling that the dll issue will be resolved in a reasonable amount of time, as the apps I'm building in D will require it. I'll need ddl's that are dynamically linked, and ddl's used as plugins that are dymaically loaded. I

Re: Pyd thread

2012-11-09 Thread Russel Winder
On Fri, 2012-11-09 at 16:31 -0800, Ellery Newcomer wrote: […] > He's been writing python extensions in C; he *should* be happy :) It is true that most people just use Cython these days. Or they are using NumPy, Numba, etc. > btw, what's the status on druntime support for share

Re: Pyd thread

2012-11-09 Thread Rob T
hould* be happy :) btw, what's the status on druntime support for shared libraries? Pyd is kind of walking on thin ice until this is straightened out. I'm also gambling that the dll issue will be resolved in a reasonable amount of time, as the apps I'm building in D will r

Re: Pyd thread

2012-11-09 Thread Ellery Newcomer
for shared libraries? Pyd is kind of walking on thin ice until this is straightened out.

Re: PyD

2012-02-24 Thread Ellery Newcomer
On 02/23/2012 11:40 PM, Ellery Newcomer wrote: it seems not to be compiling with the 2.058 front end 3 (4 but for a segfault during shutdown) out of the 5 examples compile with 2.058 and run!

Re: PyD

2012-02-23 Thread Jonathan M Davis
On Thursday, February 23, 2012 23:52:09 Ellery Newcomer wrote: > On 02/23/2012 11:40 PM, Ellery Newcomer wrote: > > Well, I can't make any promises, but you can try this: > > > > https://bitbucket.org/ariovistus/pyd > > > > it seems not to be compiling wi

Re: PyD

2012-02-23 Thread Ellery Newcomer
On 02/23/2012 11:40 PM, Ellery Newcomer wrote: Well, I can't make any promises, but you can try this: https://bitbucket.org/ariovistus/pyd it seems not to be compiling with the 2.058 front end, but I think it should with the 2.057 front end and ldc. crumb, I take that back Anyone kno

Re: PyD

2012-02-23 Thread Ellery Newcomer
Well, I can't make any promises, but you can try this: https://bitbucket.org/ariovistus/pyd it seems not to be compiling with the 2.058 front end, but I think it should with the 2.057 front end and ldc. python headers are updated to support 2.5 thru 2.7, though I only tested with 2.7

Re: PyD abandoned?

2012-02-22 Thread Ellery Newcomer
I think PyD is all there is. But it seems like someone around here (other than me) was trying to bring it back to life. Can't remember who or if I was dreaming, though. When I tried to do this, I found I had problems building shared libraries for any compiler but ldc (thus no windows su