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


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

Re: Making py2dsp/pypi2deb the default tool to create Python-based packages in Debian

From Andreas Tille <andreas@an3as.eu>
Newsgroups linux.debian.maint.python
Subject Re: Making py2dsp/pypi2deb the default tool to create Python-based packages in Debian
Date 2022-07-25 10:10 +0200
Message-ID <EN1k5-dHa4-9@gated-at.bofh.it> (permalink)
References (5 earlier) <ELVqp-d1a6-1@gated-at.bofh.it> <EMejn-ddqc-1@gated-at.bofh.it> <EMgXT-dfb6-9@gated-at.bofh.it> <EMoiK-djEY-3@gated-at.bofh.it> <EMpHP-dkm0-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Sandro,

I was able to run

  py2dsp pystow

with a sufficient result for my purposes with the following patch:

diff --git a/pypi2deb/pypi.py b/pypi2deb/pypi.py
index 3e342c0..0639de3 100644
--- a/pypi2deb/pypi.py
+++ b/pypi2deb/pypi.py
@@ -38,8 +38,8 @@ log = logging.getLogger('pypi2deb')
 @asyncio.coroutine
 def get_pypi_info(name, version=None):
     url = PYPI_JSON_URL + '/' + name
-    if version:
-        url += '/' + version
+#   if version:
+#       url += '/' + version
     url += '/json'
     session = None
     try:

Since I do not really understand pypi2deb and what role version might have I do
not step further (MR or so) from this point but leave it to you to decide whether
this is useful or not.

Kind regards

    Andreas.

-- 
http://fam-tille.de

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


Thread

Making py2dsp/pypi2deb the default tool to create Python-based  packages in Debian Sandro Tosi <morph@debian.org> - 2022-07-08 05:20 +0200
  Re: Making py2dsp/pypi2deb the default tool to create Python-based  packages in Debian Emmanuel Arias <emmanuelarias30@gmail.com> - 2022-07-08 13:20 +0200
  Re: Making py2dsp/pypi2deb the default tool to create Python-based  packages in Debian Andreas Tille <andreas@an3as.eu> - 2022-07-21 17:30 +0200
    Re: Making py2dsp/pypi2deb the default tool to create Python-based  packages in Debian Sandro Tosi <morph@debian.org> - 2022-07-21 21:00 +0200
      Re: Making py2dsp/pypi2deb the default tool to create Python-based  packages in Debian Andreas Tille <andreas@an3as.eu> - 2022-07-21 23:00 +0200
        Re: Making py2dsp/pypi2deb the default tool to create Python-based  packages in Debian Sandro Tosi <morph@debian.org> - 2022-07-22 00:00 +0200
          Re: Making py2dsp/pypi2deb the default tool to create Python-based  packages in Debian Andreas Tille <andreas@an3as.eu> - 2022-07-22 09:40 +0200
            Re: Making py2dsp/pypi2deb the default tool to create Python-based  packages in Debian Sandro Tosi <morph@debian.org> - 2022-07-23 05:50 +0200
              Re: Making py2dsp/pypi2deb the default tool to create Python-based  packages in Debian Andreas Tille <andreas@an3as.eu> - 2022-07-23 08:40 +0200
                Re: Making py2dsp/pypi2deb the default tool to create Python-based  packages in Debian Sandro Tosi <morph@debian.org> - 2022-07-23 16:30 +0200
                Re: Making py2dsp/pypi2deb the default tool to create Python-based  packages in Debian Andreas Tille <andreas@an3as.eu> - 2022-07-23 18:00 +0200
                Re: Making py2dsp/pypi2deb the default tool to create Python-based  packages in Debian Andreas Tille <andreas@an3as.eu> - 2022-07-25 10:10 +0200
                Re: Making py2dsp/pypi2deb the default tool to create Python-based  packages in Debian Andreas Tille <andreas@an3as.eu> - 2022-07-25 11:20 +0200

csiph-web