Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Commit

Permalink
build: print error message when gyp is not installed
Browse files Browse the repository at this point in the history
  • Loading branch information
bnoordhuis committed Apr 18, 2012
1 parent d5acfd0 commit 5953129
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion gyp_uv
Expand Up @@ -8,7 +8,11 @@ script_dir = os.path.dirname(__file__)
uv_root = os.path.normpath(script_dir)

sys.path.insert(0, os.path.join(uv_root, 'build', 'gyp', 'pylib'))
import gyp
try:
import gyp
except ImportError:
print('You need to install gyp in build/gyp first. See the README.')
sys.exit(42)

# Directory within which we want all generated files (including Makefiles)
# to be written.
Expand Down

0 comments on commit 5953129

Please sign in to comment.