Re: What's the latest news for calling D from python 3 using ctypes?

2018-04-20 Thread chuoiit18 via Digitalmars-d-learn
On Wednesday, 28 February 2018 at 03:08:05 UTC, chuoiit18 wrote: On Wednesday, 28 February 2018 at 02:40:59 UTC, Nicholas Wilson wrote: On Wednesday, 28 February 2018 at 01:19:25 UTC, Enjoys Math wrote: [...] For some reason, idk why, PyD is a dub source dependency (as opposed to a

Re: What's the latest news for calling D from python 3 using ctypes?

2018-02-28 Thread Enjoys Math via Digitalmars-d-learn
On Wednesday, 28 February 2018 at 17:34:49 UTC, Enjoys Math wrote: == Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped == For some reason, idk why, PyD is a dub source dependency (as opposed to a library). If you add \path\to\pyd to the include directory(?) dub variable

Re: What's the latest news for calling D from python 3 using ctypes?

2018-02-28 Thread Enjoys Math via Digitalmars-d-learn
== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped == For some reason, idk why, PyD is a dub source dependency (as opposed to a library). If you add \path\to\pyd to the include directory(?) dub variable (or -I\path\to\pyd to dmd/ldc/gdc) it should hopefully work.

Re: What's the latest news for calling D from python 3 using ctypes?

2018-02-27 Thread chuoiit18 via Digitalmars-d-learn
On Wednesday, 28 February 2018 at 02:40:59 UTC, Nicholas Wilson wrote: On Wednesday, 28 February 2018 at 01:19:25 UTC, Enjoys Math wrote: [...] For some reason, idk why, PyD is a dub source dependency (as opposed to a library). If you add \path\to\pyd to the include directory(?) dub

Re: What's the latest news for calling D from python 3 using ctypes?

2018-02-27 Thread Nicholas Wilson via Digitalmars-d-learn
On Wednesday, 28 February 2018 at 01:19:25 UTC, Enjoys Math wrote: Can't build now: -- Build started: Project: categorytheorybackend, Configuration: debug Win32 -- Building C:\MyProjects\___ENJOYS_MATH\CategoryTheoryFrontend\CategoryTheoryBackend\categorytheorybackend.exe... Error:

Re: What's the latest news for calling D from python 3 using ctypes?

2018-02-27 Thread Enjoys Math via Digitalmars-d-learn
On Wednesday, 28 February 2018 at 00:18:17 UTC, Nicholas Wilson wrote: On Tuesday, 27 February 2018 at 23:59:10 UTC, Enjoys Math wrote: I am making a library that will run very speedily in D (or, failing that, C++) and do the backend work of a PyQt5 gui. Was wondering the simplest route to

Re: What's the latest news for calling D from python 3 using ctypes?

2018-02-27 Thread Enjoys Math via Digitalmars-d-learn
Can't build now: -- Build started: Project: categorytheorybackend, Configuration: debug Win32 -- Building C:\MyProjects\___ENJOYS_MATH\CategoryTheoryFrontend\CategoryTheoryBackend\categorytheorybackend.exe... Error: Error writing file

Re: What's the latest news for calling D from python 3 using ctypes?

2018-02-27 Thread Enjoys Math via Digitalmars-d-learn
On Wednesday, 28 February 2018 at 01:10:36 UTC, Enjoys Math wrote: Got it. dub init myproject from within my python frontend source dir will create a subdirectory. Then you do dub generate visuald from within the subdir myproject.

Re: What's the latest news for calling D from python 3 using ctypes?

2018-02-27 Thread Enjoys Math via Digitalmars-d-learn
Got it. dub init myproject from within my python frontend source dir will create a subdirectory.

Re: What's the latest news for calling D from python 3 using ctypes?

2018-02-27 Thread Enjoys Math via Digitalmars-d-learn
On Wednesday, 28 February 2018 at 00:18:17 UTC, Nicholas Wilson wrote: On Tuesday, 27 February 2018 at 23:59:10 UTC, Enjoys Math wrote: I am making a library that will run very speedily in D (or, failing that, C++) and do the backend work of a PyQt5 gui. Was wondering the simplest route to

Re: What's the latest news for calling D from python 3 using ctypes?

2018-02-27 Thread Nicholas Wilson via Digitalmars-d-learn
On Tuesday, 27 February 2018 at 23:59:10 UTC, Enjoys Math wrote: I am making a library that will run very speedily in D (or, failing that, C++) and do the backend work of a PyQt5 gui. Was wondering the simplest route to accomplish this, preferably in ctypes calls. Thanks.

What's the latest news for calling D from python 3 using ctypes?

2018-02-27 Thread Enjoys Math via Digitalmars-d-learn
I am making a library that will run very speedily in D (or, failing that, C++) and do the backend work of a PyQt5 gui. Was wondering the simplest route to accomplish this, preferably in ctypes calls. Thanks.