Last active
May 3, 2019 17:36
-
-
Save 4383/52ef2f3c6f96ffa0e699b5f7000de41c to your computer and use it in GitHub Desktop.
scan python dependencies
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /tmp | |
mkdir keystone | |
pipenv shell | |
pip install keystone | |
pypath=$(dirname $(which python) | sed 's/bin/lib/g') | |
grep -ri ${mypath} -e subprocess -exclude-dir="*/__pycache__" | grep import | more |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment