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

deps.sh « tools - github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e12f201a5eb4a830989f6b0493634825929925f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
#
# Find all Python imports.
#
#  ./tools/deps.sh certbot
#  ./tools/deps.sh acme
#  ./tools/deps.sh certbot-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