Skip to content

Commit aee14db

Browse files
committed
add note about commands to use when searching for missing deps
1 parent dab8f63 commit aee14db

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

st2common/BUILD

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,12 @@ st2_component_python_distribution(
3737
"noop": "st2common.rbac.backends.noop:NoOpRBACBackend",
3838
},
3939
},
40+
dependencies=[
41+
],
42+
# commands helpful in inspecting the dependencies (the "=(...)" is zsh syntax)
43+
# python files under st2common that will not be included in the wheel
44+
# comm -13 =(./pants dependencies --transitive st2common:st2common | grep -v -e : -e __init__.py | grep st2common/st2common | sort) =(find st2common/st2common -name '*.py' -and -not -name '__init__.py' | sort)
45+
#
46+
# python files required by other wheels that are missing from st2common
47+
# comm -13 =(./pants dependencies --transitive st2common:st2common | grep st2common/st2common | sort) =(./pants list --filter-target-type=python_distribution --filter-address-regex=-st2common:st2common :: | xargs ./pants dependencies --transitive | grep st2common/st2common | sort)
4048
)

0 commit comments

Comments
 (0)