You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. install Debian GNU/Linux testing, install gyp by means of apt
2. clone this repository
3. invoke gyp_main.py
What is the expected output? What do you see instead?
I'd expect all the options to be available (as an example --root-target),
instead gyp_main.py invokes the gyp present in the system which does not offer
those options.
Usually, I clone the repo because I'm interested in the most updated code.
Instead the gyp_main.py file do not patch the sys.path and relies on something
different.
What version of the product are you using? On what operating system?
I've cloned the gyp repo, branch master. OS is Debian GNU/Linux (testing)
Please provide any additional information below.
The problem can be solved patching the file gyp_main.py as follows:
[...]
try:
import os.path
sys.path = [os.path.join(os.path.dirname(sys.argv[0]), 'pylib')] + sys.path
import gyp
[...]
Original issue reported on code.google.com by michele....@cynny.com on 18 May 2015 at 11:20
The text was updated successfully, but these errors were encountered:
nevermind, using PYTHONPATH the problem is solved. no need to patch gyp_main.py.
anyway, I'm still trying to figure out why a freshly cloned repo should rely on
the gyp version installed in the system.
Original comment by michele....@cynny.com on 18 May 2015 at 12:30
Original issue reported on code.google.com by
michele....@cynny.com
on 18 May 2015 at 11:20The text was updated successfully, but these errors were encountered: