summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/reproducible_common.py3
-rwxr-xr-xbin/reproducible_html_packages.py4
2 files changed, 3 insertions, 4 deletions
diff --git a/bin/reproducible_common.py b/bin/reproducible_common.py
index b6294928..45411b97 100755
--- a/bin/reproducible_common.py
+++ b/bin/reproducible_common.py
@@ -4,7 +4,7 @@
# Copyright © 2015 Mattia Rizzolo <mattia@mapreri.org>
# Licensed under GPL-2+
#
-# Depends: python3
+# Depends: python3 python3-psycopg2
#
# This is included by all reproducible_*.py scripts, it contains common functions
@@ -15,6 +15,7 @@ import sqlite3
import logging
import argparse
import datetime
+import psycopg2
from string import Template
DEBUG = False
diff --git a/bin/reproducible_html_packages.py b/bin/reproducible_html_packages.py
index 41004544..0d76a5fb 100755
--- a/bin/reproducible_html_packages.py
+++ b/bin/reproducible_html_packages.py
@@ -4,12 +4,10 @@
# Copyright © 2015 Mattia Rizzolo <mattia@mapreri.org>
# Licensed under GPL-2+
#
-# Depends: python3 python3-psycopg2
+# Depends: python3
#
# Build rb-pkg pages (the pages that describe the package status)
-import psycopg2
-
from reproducible_common import *
html_package_page = Template((tab*2).join(("""