Re: Tool to cobvert PyPI package into .deb?
* Barry Scott: " Tool to cobvert PyPI package into .deb?" (Mon, 2 Jan 2023 21:06:18 +): > 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 Please have look at the branch of olasd: https://salsa.debian.org/python-team/tools/pypi2deb/-/merge_requests/5 It should work. Cheers, Mathias -- Mathias Behrle PGP/GnuPG key availabable from any keyserver, ID: 0xD6D09BE48405BBF6 AC29 7E5C 46B9 D0B6 1C71 7681 D6D0 9BE4 8405 BBF6 pgpXUzHh_6ehn.pgp Description: Digitale Signatur von OpenPGP
Re: Tool to cobvert PyPI package into .deb?
The compilation on https://wiki.debian.org/AutomaticPackagingTools equally mentions `python3-stdeb`. Maybe this offers a working alternative to pypi2deb. Regards, Norwid On Mon, 2 Jan 2023 21:51:22 + Barry wrote: > > On 2 Jan 2023, at 21:41, Danial Behzadi دانیال بهزادی > > 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 > > نوشت: > >> > >> 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 > >> > >>
Re: Tool to cobvert PyPI package into .deb?
> On 2 Jan 2023, at 21:41, Danial Behzadi دانیال بهزادی > 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 نوشت: >> >> 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 >> >>
Re: Tool to cobvert PyPI package into .deb?
Doesn't Debian helper for Python do exactly this? 樂 در 2 ژانویهٔ 2023 21:06:18 (UTC)، Barry Scott نوشت: >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 > >
Tool to cobvert PyPI package into .deb?
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