Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #13107 > unrolled thread

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

Started byFabrice BAUZAC-STEHLY <noon@mykolab.com>
First post2021-01-15 00:20 +0100
Last post2021-01-15 00:20 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.debian.maint.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: macsyfinder: Upstream released Python3 version but "error:  'setuptools' is not supported. Please use 'pip' instead." Fabrice BAUZAC-STEHLY <noon@mykolab.com> - 2021-01-15 00:20 +0100

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

FromFabrice BAUZAC-STEHLY <noon@mykolab.com>
Date2021-01-15 00:20 +0100
SubjectRe: macsyfinder: Upstream released Python3 version but "error: 'setuptools' is not supported. Please use 'pip' instead."
Message-ID<Bxk4h-6oc-1@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.debian.maint.python


csiph-web