[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: macsyfinder: Upstream released Python3 version but "error: 'setuptools' is not supported. Please use 'pip' instead."



Andreas Tille <andreas@an3as.eu> writes:

> upstream has released a Python3 version of macsyfinder which I pushed to
> Git[1].  When trying to build I get a strange error:
>
>    dh_auto_install -O--buildsystem=pybuild
> I: pybuild base:232: /usr/bin/python3 setup.py install --root '/build/macsyfinder-2.0~rc1/debian/macsyfinder' 
> running install
> running build
> running build_py
> running install_lib
> error: 'setuptools' is not supported. Please use 'pip' instead.

This message is output by setup.py.  According to the README, it must be
installed with pip3.  Has upstream tweaked it so much that setuptools
fails?

As next step I would try adding python3-pip to the Build-Depends and
overriding dh_auto_install to something like

  pip3 install . --target=debian/macsyfinder

and see how it goes.  Probably you would have to also explicitly perform
other dh_auto_install steps normally done by pybuild and dh_python3...

-- 
Fabrice Bauzac-Stehly
PGP 01EEACF8244E9C14B551C5256ADA5F189BD322B6
old PGP 015AE9B25DCB0511D200A75DE5674DEA514C891D


Reply to: