--Apple-Mail-9F799185-8C6B-41BF-A258-770066045E67
Content-Type: text/plain;
charset=utf-8
Content-Transfer-Encoding: quoted-printable
On 2 Jan 2023, at 21:41, Danial Behzadi دانیال بهزادی <[email protected]> wrote:
Doesn't Debian helper for Python do exactly this? 🤔
I thought that the dh_ tools are used as part of the rules for a package.
But i want to give the name of a package on PyPI and have the debian source package created.
Barry
در 2 ژانویهٔ 2023 21:06:18 (UTC)، Barry Scott <[email protected]> نوشت:
I found the pypi2deb package but it does not work.
For example:
$ py2dsp xml-preferences
/usr/bin/py2dsp:163: DeprecationWarning: There is no current event loop
loop = asyncio.get_event_loop()
E: py2dsp py2dsp:167: 'releases'
The problem is that its loading meta data from PyPI and thinks there is a field called 'releases' but it does not exist.
I see the same issue with requests.
Is there a tool that does work?
Or is there a work flow I can follow turn a PyPI package into a debian package?
Barry
--Apple-Mail-9F799185-8C6B-41BF-A258-770066045E67
Content-Type: text/html;
charset=utf-8
Content-Transfer-Encoding: quoted-printable
<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"></div><div dir="ltr"><br></div><div dir="ltr"><br><blockquote type="cite">On 2 Jan 2023, at 21:41, Danial Behzadi دانیال بهزاد
ی <
[email protected]> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr">Doesn't Debian helper for Python do exactly this? 🤔<br></div></blockquote>I thought that the dh_ tools are used as part of the rules for a
package.<div><div><br></div><div>But i want to give the name of a package on PyPI and have the debian source package created.</div><div><br></div><div>Barry</div><div><br><blockquote type="cite"><div dir="ltr"><br><div class="gmail_quote">در 2 ژانو�
�هٔ 2023 21:06:18 (UTC)، Barry Scott <
[email protected]> نوشت:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre dir="auto" class="k9mail">I found the pypi2deb package but it does not work.<br><br>For example:<br><br>$ py2dsp xml-preferences<br>/usr/bin/py2dsp:163: DeprecationWarning: There is no current event loop<br> loop = asyncio.get_event_loop()<br>
E: py2dsp py2dsp:167: 'releases'<br><br>The problem is that its loading meta data from PyPI and thinks there is a field called 'releases' but it does not exist.<br><br>I see the same issue with requests.<br><br>Is there a tool that does work?<br><br>Or
is there a work flow I can follow turn a PyPI package into a debian package?<br><br>Barry<br><br><br></pre></blockquote></div></div></blockquote></div></div></body></html>
--Apple-Mail-9F799185-8C6B-41BF-A258-770066045E67--
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)