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


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

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

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Fabrice BAUZAC-STEHLY <noon@mykolab.com>
Newsgroups linux.debian.maint.python
Subject Re: macsyfinder: Upstream released Python3 version but "error: 'setuptools' is not supported. Please use 'pip' instead."
Date Fri, 15 Jan 2021 00:20:01 +0100
Message-ID <Bxk4h-6oc-1@gated-at.bofh.it> (permalink)
References <BwREZ-64b-1@gated-at.bofh.it>
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Thu Jan 14 23:16:13 2021
Old-Return-Path <noon@mykolab.com>
X-Amavis-Spam-Status No, score=-8.199 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5, MD5_SHA1_SUM=-1] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -4.6
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=mykolab.com; h= content-type:content-type:mime-version:message-id:in-reply-to :date:date:references:subject:subject:from:from:received :received:received:received; s=dkim20160331; t=1610666156; x= 1612480557; bh=croRNtutjQgCgroRzrzBp9hGQD6Y/Ga2Uk9cIIFkO4g=; b=C 2VTLMWjF8VZvwmSAN5e9zVaRxWKsP/Sj8k0u10Uj6X/iIw9v3xnhBlwIz6NQJOpJ e+ulxaDylleHpqyfAvsde11qzQEoT9/s50IayIcMEgW5qhnD7oU/mNGwEg3B/HqH 27L9ie8wLnSikL0cYuHlDPEX6IzfVdyPWeHFATI6vDbtcWi8lfwIRGWntrMwaXYW BFy0zlD+Q3izYhjN3nsaIFxWDB83pK0PD/eNMv/VZIIQgrkmjQutqIfGq2E9+rv7 PCVX0iVI0f34GAgJOoijwCPIkK8ZRJ42mNlHw0f72pEUsl1DsKhpp99gAVrW5zjH lyG+AI+54im4GtCR1I7YN3zniRpDOy+fz0aD2eGrMATMuqCExBWKMVWRWJLKW+ri dKwFx+80CWvQiSA1v1Jc+h0CN6v6p18FWNESmRrlNFUx8Ibz4Edzmt1EYstAVzOs SjiaCYXOFj25zwMD9UT/WCaiXTiq6mOUNKbyEnaCYSiYEBMVuHBKyqzI2wjlgm8X OUC8OIfjYjg5ZN824lHv6jTKI0LK1SiwGeGYCiRvQumpYOVUoju8B5PWN1JiQY3A daxVAxZQSeDWBkkCHgL0UowukATy50hbqNsu6FkVhdWab9f85+ECVf46hZzjYgeK mIZefdWn7pVKF8UrAZH7kzpsnhsRF9nNSsiXgPwdhY=
MIME-Version 1.0
Content-Type text/plain
X-Mailing-List <debian-python@lists.debian.org> archive/latest/18882
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/878s8vf6ty.fsf@mykolab.com
Approved robomod@news.nic.it
Lines 29
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Fri, 15 Jan 2021 00:15:53 +0100
X-Original-Message-ID <878s8vf6ty.fsf@mykolab.com>
X-Original-References <20210113165504.GA8932@an3as.eu>
Xref csiph.com linux.debian.maint.python:13107

Show key headers only | View raw


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

Back to linux.debian.maint.python | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web