Re: Making py2dsp/pypi2deb the default tool to create Python-based packages in Debian
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
Reply to: