www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - (Possibly paid opportunity): PyD - Win 64

reply Laeeth Isharc <laeeth kaleidic.io> writes:
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.
Dec 01 2017
next sibling parent Nicholas Wilson <iamthewilsonator hotmail.com> writes:
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, we could pay for help on this.

 laeeth at
 kaleidic.io


 Thanks.


 Laeeth.
The reason for the failures is that there is no .lib for the python DLL. A d program ``` import std.stdio; import std.algorithm; import std.range; void main(string[] args) { writeln("EXPORTS"); stdin.byLine.drop(2); foreach(s;stdin.byLine) { auto l = s.splitter(" ").drop(3); if (!l.front.startsWith("LNK2019")) break; writeln("\t",l.drop(4).front); } } ``` named d.exe then run ``` $dub 2>NUL | d.exe> python.def $lib /def:python.def /out:python.lib ``` then add python.lib to your dub configuration and assuming that it can find the DLL it should work. I'll bill you an hour ;) Nic
Dec 02 2017
prev sibling parent reply Thomas Mader <thomas.mader gmail.com> writes:
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, we could pay for help on this.

 laeeth at
 kaleidic.io


 Thanks.


 Laeeth.
Just found https://github.com/ariovistus/pyd/issues/67
Dec 02 2017
next sibling parent Laeeth Isharc <laeethnospam nospam.laeeth.com> writes:
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 myself right now.  If somebody would 
 be interested in helping, we could pay for help on this.

 laeeth at
 kaleidic.io


 Thanks.


 Laeeth.
Just found https://github.com/ariovistus/pyd/issues/67
Thanks. I didn't try yet but reckon Nic is right - just something small.
Dec 05 2017
prev sibling parent Atila Neves <atila.neves gmail.com> writes:
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 myself right now.  If somebody would 
 be interested in helping, we could pay for help on this.

 laeeth at
 kaleidic.io


 Thanks.


 Laeeth.
Just found https://github.com/ariovistus/pyd/issues/67
https://github.com/ariovistus/pyd/pull/72
Dec 06 2017