Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #12437 > unrolled thread

packaging manual for a beginner

Started byAlex Mestiashvili <amestia@rsh2.donotuse.de>
First post2020-04-07 20:30 +0200
Last post2020-04-08 11:30 +0200
Articles 5 — 3 participants

Back to article view | Back to linux.debian.maint.python


Contents

  packaging manual for a beginner Alex Mestiashvili <amestia@rsh2.donotuse.de> - 2020-04-07 20:30 +0200
    Re: python packaging manual for a beginner Geert Stappers <stappers@stappers.nl> - 2020-04-07 22:20 +0200
    Re: packaging manual for a beginner Andrey Rahmatullin <wrar@debian.org> - 2020-04-08 10:40 +0200
      Re: packaging manual for a beginner Alex Mestiashvili <amestia@rsh2.donotuse.de> - 2020-04-08 11:30 +0200
    Re: packaging manual for a beginner Alex Mestiashvili <amestia@rsh2.donotuse.de> - 2020-04-08 11:30 +0200

#12437 — packaging manual for a beginner

FromAlex Mestiashvili <amestia@rsh2.donotuse.de>
Date2020-04-07 20:30 +0200
Subjectpackaging manual for a beginner
Message-ID<zT18Z-2W5-1@gated-at.bofh.it>
Hi Debian Python folks,

Is there a good entry point for a newbie who wants to package a python
module? I am looking for a tool similar to dh-make-perl. In the past
I've been using stdeb as far as I remember, but it is somehow painful
compared to other dh-make-x helpers.
A link with step-by-step instructions would be also helpful. Sorry but I
am unable to find Debian documentation suitable for a newcomer.

Thank you,
Alex

[toc] | [next] | [standalone]


#12439 — Re: python packaging manual for a beginner

FromGeert Stappers <stappers@stappers.nl>
Date2020-04-07 22:20 +0200
SubjectRe: python packaging manual for a beginner
Message-ID<zT2Rr-42q-5@gated-at.bofh.it>
In reply to#12437
Preamble  'foo' and 'bar' are placeholders.
( https://en.wikipedia.org/wiki/Metasyntactic_variable )

On Tue, Apr 07, 2020 at 08:13:02PM +0200, Alex Mestiashvili wrote:
> Hi Debian Python folks,
> 
> Is there a good entry point for a newbie who wants to package a python
> module? I am looking for a tool similar to dh-make-perl. In the past
> I've been using stdeb as far as I remember, but it is somehow painful
> compared to other dh-make-x helpers.
> A link with step-by-step instructions would be also helpful. Sorry but I
> am unable to find Debian documentation suitable for a newcomer.

I do hope that this message yields posting like

  Take  package  python-foo,  replace the foo stuff with you bar


Regards
Geert Stappers
Added  'python' to the Subject
-- 
Silence is hard to parse

[toc] | [prev] | [next] | [standalone]


#12441

FromAndrey Rahmatullin <wrar@debian.org>
Date2020-04-08 10:40 +0200
Message-ID<zTepA-2LA-9@gated-at.bofh.it>
In reply to#12437

[Multipart message — attachments visible in raw view] — view raw

On Tue, Apr 07, 2020 at 08:13:02PM +0200, Alex Mestiashvili wrote:
> Hi Debian Python folks,
> 
> Is there a good entry point for a newbie who wants to package a python
> module? I am looking for a tool similar to dh-make-perl. In the past
> I've been using stdeb as far as I remember, but it is somehow painful
> compared to other dh-make-x helpers.
> A link with step-by-step instructions would be also helpful. Sorry but I
> am unable to find Debian documentation suitable for a newcomer.
There is https://wiki.debian.org/Python/LibraryStyleGuide but it doesn't
cover the very first steps.

-- 
WBR, wRAR

[toc] | [prev] | [next] | [standalone]


#12442

FromAlex Mestiashvili <amestia@rsh2.donotuse.de>
Date2020-04-08 11:30 +0200
Message-ID<zTfbY-3hZ-5@gated-at.bofh.it>
In reply to#12441
On 4/8/20 10:36 AM, Andrey Rahmatullin wrote:
> On Tue, Apr 07, 2020 at 08:13:02PM +0200, Alex Mestiashvili wrote:
>> Hi Debian Python folks,
>>
>> Is there a good entry point for a newbie who wants to package a python
>> module? I am looking for a tool similar to dh-make-perl. In the past
>> I've been using stdeb as far as I remember, but it is somehow painful
>> compared to other dh-make-x helpers.
>> A link with step-by-step instructions would be also helpful. Sorry but I
>> am unable to find Debian documentation suitable for a newcomer.
> There is https://wiki.debian.org/Python/LibraryStyleGuide but it doesn't
> cover the very first steps.
> 

Thanks, this is one of the most useful links about the topic.

[toc] | [prev] | [next] | [standalone]


#12443

FromAlex Mestiashvili <amestia@rsh2.donotuse.de>
Date2020-04-08 11:30 +0200
Message-ID<zTfbY-3hZ-15@gated-at.bofh.it>
In reply to#12437
On 4/8/20 10:23 AM, Thomas Goirand wrote:
> On 4/7/20 8:13 PM, Alex Mestiashvili wrote:
>> Hi Debian Python folks,
>>
>> Is there a good entry point for a newbie who wants to package a python
>> module? I am looking for a tool similar to dh-make-perl. In the past
>> I've been using stdeb as far as I remember, but it is somehow painful
>> compared to other dh-make-x helpers.
>> A link with step-by-step instructions would be also helpful. Sorry but I
>> am unable to find Debian documentation suitable for a newcomer.
>>
>> Thank you,
>> Alex
>>
> 
> Hi Alex,
> 
> I'd advise you to check the content of the packaging-tutorial package.
> It contains nice PDFs under /usr/share/doc/packaging-tutorial/
> (translated in multiple languages). This is a very good start, IMO.
> 
> When you're done with that one, you may start reading the Debian Policy
> Manual, which is probably a lot harder to read.
> 
> I hope this helps,
> Cheers,
> 
> Thomas Goirand (zigo)
> 

Hi Thomas,

thanks, I can find my way to package python applications, but what I am
 actually looking for is an up-to-date guide or tools which would
simplify packaging. Most of the useful resources about python packaging
for Debian are either 10 years old or are blogposts living outside
Debian wiki.. I can imagine that for a newcomer it is kind of
complicated to start packaging python software. There must be some easy
py2deb stuff giving you almost ready debian package,(that's what stdeb
is doing to some extent), but again the documentation is sparse and
output of stdeb is sometimes scary :) I know, if you need it, just
implement it, but may be I am missing some already available tools.

Regards,
Alex

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.maint.python


csiph-web