diff options
author | Jakub Warmuz <jakub@warmuz.org> | 2015-09-01 22:57:41 +0300 |
---|---|---|
committer | Jakub Warmuz <jakub@warmuz.org> | 2015-09-01 22:57:41 +0300 |
commit | c6e4c7dea1020a69ce64fc4b99f88d186fc07f69 (patch) | |
tree | dfa41d3f7981baa1ff1108b457199fac00c382d9 /tools | |
parent | c3941b1a8d159e04641304ea040c845f4ebd0559 (diff) |
setup.py: update/fix deps.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/deps.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/deps.sh b/tools/deps.sh new file mode 100755 index 000000000..28bfdaff5 --- /dev/null +++ b/tools/deps.sh @@ -0,0 +1,15 @@ +#!/bin/sh +# +# Find all Python imports. +# +# ./deps.sh letsencrypt +# ./deps.sh acme +# ./deps.sh letsencrypt-apache +# ... +# +# Manually compare the output with deps in setup.py. + +git grep -h -E '^(import|from.*import)' $1/ | \ + awk '{print $2}' | \ + grep -vE "^$1" | \ + sort -u |