Make setup.py consistent across all versions
Review Request #10138 — Created Sept. 6, 2018 and submitted
This patch backports newer, cleaner methods we are using in release-2.0-x to
release-0.9.x.Additionally, the
ListNodeDependenciesCommand
mistakenly had the wrong option
name. This has been rectified.
- Ran
setup.py list_node_deps
- Ran
setup.py develop
- Description:
-
~ The
ListNodeDependenciesCommand
mistakenly has the wrong option name.~ Additionally, on Python2, distutils requires Command.boolean_options
~ This patch backports newer, cleaner methods we are using in release-2.0-x to
~ release-0.9.x. - to be a list of str
(bytes
), so we now useunicode_literals
and- intentionally make the boolean_options
a list of bytestrings for- clarity. ~ This makes setup.py consistent across release-0.9.x to release-2.0.x
~ Additionally, the
ListNodeDependenciesCommand
mistakenly had the wrong option+ name. This has been rectified. - Testing Done:
-
~ Ran
setup.py list_node_deps
~ - Ran
setup.py list_node_deps
+ - Ran
setup.py develop
- Ran
- Commit:
-
73fc0576f6ca65d6c8ca4605f6a13404e201c47166250fd227ff367f5dae9a98470333c65be29bd0
- Diff:
-
Revision 2 (+29 -15)
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.
- Summary:
-
Make setup.py consistent across all verisonsMake setup.py consistent across all versions
- Commit:
-
66250fd227ff367f5dae9a98470333c65be29bd06f406d43310570fcf9737aeaf6567677f92b5543
- Diff:
-
Revision 3 (+24 -15)
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.