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


Groups > linux.debian.maint.python > #12443

Re: packaging manual for a beginner

Path csiph.com!weretis.net!feeder7.news.weretis.net!news.albasani.net!tahina.priv.at!bofh.it!news.nic.it!robomod
From Alex Mestiashvili <amestia@rsh2.donotuse.de>
Newsgroups linux.debian.maint.python
Subject Re: packaging manual for a beginner
Date Wed, 08 Apr 2020 11:30:02 +0200
Message-ID <zTfbY-3hZ-15@gated-at.bofh.it> (permalink)
References <zT18Z-2W5-1@gated-at.bofh.it> <zTfbY-3hZ-17@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Wed Apr 8 09:25:15 2020
Old-Return-Path <amestia@rsh2.donotuse.de>
X-Amavis-Spam-Status No, score=-6.207 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, RDNS_NONE=0.793] autolearn=no autolearn_force=no
X-Policyd-Weight using cached result; rate: -4.6
X-Greylist delayed 54697 seconds by postgrey-1.36 at bendel; Wed, 08 Apr 2020 09:25:05 UTC
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Language en-US
Content-Transfer-Encoding 7bit
X-Mailing-List <debian-python@lists.debian.org> archive/latest/18101
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/de57fd76-6073-60ce-97d2-cf77950545e8@rsh2.donotuse.de
Approved robomod@news.nic.it
Lines 45
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Wed, 8 Apr 2020 11:25:00 +0200
X-Original-Message-ID <de57fd76-6073-60ce-97d2-cf77950545e8@rsh2.donotuse.de>
X-Original-References <2a31f793-6dd2-0b54-0587-9dd3e22b88cf@rsh2.donotuse.de> <ea643e10-a3d2-a6bc-b9a5-1cd688f43fc5@debian.org>
Xref csiph.com linux.debian.maint.python:12443

Show key headers only | View raw


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

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

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

csiph-web