From f80d6a250c99210c366410bb313a6c11f6fc58b1 Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Tue, 25 Jun 2019 10:47:21 +0200 Subject: 5667: move jsmin dep to setup.py. --- configure.ac | 10 ---------- setup.py | 5 ++++- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/configure.ac b/configure.ac index c7440be..e2ecfbe 100644 --- a/configure.ac +++ b/configure.ac @@ -48,16 +48,6 @@ AC_SUBST(DEBIAN_PIP3_SYSTEM) AC_CHECK_PROG([tsc],[tsc],[yes],[no]) AM_CONDITIONAL([HAVE_TSC], [test "x$tsc" = xyes]) -# -# Check for minifier -# -AC_MSG_CHECKING([Checking for jsmin]) -python3 -m jsmin &> /dev/null -if test $? -ne 0; - then - AC_MSG_ERROR([Please install Python3 module 'jsmin']) -fi - # # Report # diff --git a/setup.py b/setup.py index 3e89959..a917c11 100755 --- a/setup.py +++ b/setup.py @@ -8,7 +8,10 @@ setup(name='talerdonations', author_email='stanisci.m@gmail.com', license='GPL', packages=find_packages(), - install_requires=["Flask>=0.10", "requests", "uwsgi"], + install_requires=["Flask>=0.10", + "requests", + "uwsgi", + "jsmin"], tests_require=["mock", "nose"], test_suite="nose.collector", package_data={ -- cgit v1.2.3