On 2 Jan 2023, at 21:41, Danial Behzadi دانیال بهزادی <dani.behzi@ubuntu.com> wrote:I thought that the dh_ tools are used as part of the rules for a package.
Doesn't Debian helper for Python do exactly this? 🤔
در 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
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
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
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
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 149:25:14 |
Calls: | 10,383 |
Calls today: | 8 |
Files: | 14,054 |
D/L today: |
2 files (1,861K bytes) |
Messages: | 6,417,769 |