From 1022f5b981213b8b02734d24e2e59fa35168ef19 Mon Sep 17 00:00:00 2001 From: Alexandre Detiste <tchet@debian.org> Date: Mon, 24 Feb 2025 00:12:56 +0100 Subject: [PATCH] update commented-out code --- debian/rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/rules b/debian/rules index 8bd6ecd..52a466c 100755 --- a/debian/rules +++ b/debian/rules @@ -37,8 +37,8 @@ override_dh_auto_test: # as now tests/mysqldb.py:bootstrap() should invoke `mysql_install_db` + # start mysqld on the bootstrapped datadir - this is too much #ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) -# -for python in $(PYTHON2) $(PYTHON3); do \ -# LIB=$$($$python -c "from distutils.command.build import build ; from distutils.core import Distribution ; b = build(Distribution()) ; b.finalize_options() ; print (b.build_purelib)") ;\ +# -for python in $(PYTHON3); do \ +# LIB=$$($$python -c "from setuptools.command.build import build ; from setuptools import Distribution ; b = build(Distribution()) ; b.finalize_options() ; print (b.build_purelib)") ;\ # mkdir -p $(CURDIR)/mysql_myconnpy/ ; \ # PYTHONPATH=$(CURDIR)/$$LIB $$python unittests.py --with-mysql=/usr/ --mysql-topdir=$(CURDIR)/mysql_myconnpy/ --verbosity=2 --bind-address=:: --host=::1 --stats ; \ # rm -rf $(CURDIR)/mysql_myconnpy/ ; \ -- GitLab