[Bug 264657] security/libpwquality: broken python bindings

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 15 Oct 2022 20:25:55 UTC

--- Comment #20 from alt2600@icloud.com ---
so bumping py-setuptools to 65.5.0 doesn't fix anything

so no idea how to make this happy short of turning off the bindings. I'm
digging through Mk/Uses/python.mk but nothing is sticking out to me, as I have
never had any luck doing anything with python because it usually ends with
errors like these. I'm looking at maybe pip install, but no idea how to hack
that in. 

SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip
and other standards-based tools.
EasyInstallDeprecationWarning: easy_install command is deprecated. Use build
and pip and other standards-based tools.
Checking .pth file support in
/usr/local/bin/python3.9 -E -c pass
does NOT support .pth files
bad install directory or PYTHONPATH

You are attempting to install a package to a directory that is not
on PYTHONPATH and which Python does not read ".pth" files from.  The
installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:


and your PYTHONPATH environment variable currently contains:


Here are some of your options for correcting the problem:

* You can choose a different installation directory, i.e., one that is
  on PYTHONPATH or supports .pth files

* You can add the installation directory to the PYTHONPATH environment
  variable.  (It must then also be on PYTHONPATH whenever you run
  Python and want to use the package(s) you are installing.)

* You can set up the installation directory to support ".pth" files by
  using one of the approaches described here:


You are receiving this mail because:
You are the assignee for the bug.