nws-gyp updates and status

16 views
Skip to first unread message

Constant Development

unread,
Jan 26, 2023, 12:18:47 AM1/26/23
to nw.js
Hello,

I've noticed nw-gyp has gone untouched with open pull-requests and infrequent updates.

I have a couple of questions:

  • Does nw-gyp provide any additional functionality over node-gyp besides it's highlights such as making the command-line arguments easier?
    • Is it recommended to just use node-gyp for now?
  • Will there be updates to nw-js regarding python2->python 3 changes?
I ran into an issue earlier today with rebuilding a module (that I found a solution to) however the issue is not related to which python is being used but certain commands in the nw-gyp toolchain and common that are causing the process to error out. Please see this issue and accompanying comments.

Fails on python syntax even when setting options for python2 #156

Best,
C9

PS, I can contribute these changes to the repo through a pull request but I'm unsure of the possible consequences for other users who found workarounds, or have a different environment setup.

russell....@gmail.com

unread,
Jan 26, 2023, 12:36:44 PM1/26/23
to nw.js
Additional functionality:
It makes sure it complies against the nwjs version of node, rather than whatever node version is installed or shown on the system. Something compiled with normal node-gyp will likely fail to load when using it from nwjs.

Constant Development

unread,
Jan 27, 2023, 8:42:13 AM1/27/23
to nw.js
@russell
Thanks for the answer!

Also didn't mean to be down putting in the original email, re-reading it doesn't come off the way I intended.
Reply all
Reply to author
Forward
0 new messages