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 +0000
Barry <barry@barrys-emacs.org> wrote:
> > On 2 Jan 2023, at 21:41, Danial Behzadi دانیال بهزادی <dani.behzi@ubuntu.com> 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 <barry@barrys-emacs.org> نوشت:
> >>
> >> 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
> >>
> >>
Reply to: