Check for node and nodejs when running setup.py develop.
Review Request #8511 — Created Oct. 31, 2016 and submitted
If node isn't installed,
setup.py developwill fail part-way through
the installation process. However, if it's installed but asnodejs
(such as on Ubuntu), it will all work correctly until you go to run
Review Board, at which point it will fail confusingly when it fails to
findnodein the path.We now check for both
nodeandnodejs, and provide appropriate error
messages depending on what we find or don't find.
Tested with
nodein the path and without.Tested without
nodein the path but with and withoutnodejsin the
path.Saw the expected behavior in all cases.
| Description | From | Last Updated |
|---|---|---|
|
This second sentence is a little confusing. |
|
- Change Summary:
-
Removed an exception case I was using for testing only.
- Commit:
-
0c424905b2a7df6cf1d8c5ddeefe9ad2496b855d1a4054ac6f2a809bfcef7ad892f29dce308248fb
- Diff:
-
Revision 2 (+20 -1)
- Commit:
-
1a4054ac6f2a809bfcef7ad892f29dce308248fb0ee16b5ce653247c4985aeeea04af7aef6208e5b
- Diff:
-
Revision 3 (+21 -1)
Tool: PEP8 Style Checker Processed Files: setup.py Tool: Pyflakes Processed Files: setup.py