Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJakub Warmuz <jakub@warmuz.org>2015-09-01 22:57:41 +0300
committerJakub Warmuz <jakub@warmuz.org>2015-09-01 22:57:41 +0300
commitc6e4c7dea1020a69ce64fc4b99f88d186fc07f69 (patch)
treedfa41d3f7981baa1ff1108b457199fac00c382d9 /tools
parentc3941b1a8d159e04641304ea040c845f4ebd0559 (diff)
setup.py: update/fix deps.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/deps.sh15
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