mirror of
https://github.com/certbot/certbot.git
synced 2026-01-21 19:01:07 +03:00
16 lines
305 B
Bash
Executable File
16 lines
305 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# Find all Python imports.
|
|
#
|
|
# ./tools/deps.sh letsencrypt
|
|
# ./tools/deps.sh acme
|
|
# ./tools/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
|