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


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

Packaging multiple python modules in one Debian package

Started byAlexander Gerasiov <gq@cs.msu.su>
First post2016-07-19 17:00 +0200
Last post2016-07-19 18:10 +0200
Articles 3 — 2 participants

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


Contents

  Packaging multiple python modules in one Debian package Alexander Gerasiov <gq@cs.msu.su> - 2016-07-19 17:00 +0200
    Re: Packaging multiple python modules in one Debian package Fred Drake <fred@fdrake.net> - 2016-07-19 17:20 +0200
      Re: Packaging multiple python modules in one Debian package Alexander Gerasiov <gq@cs.msu.su> - 2016-07-19 18:10 +0200

#8668 — Packaging multiple python modules in one Debian package

FromAlexander Gerasiov <gq@cs.msu.su>
Date2016-07-19 17:00 +0200
SubjectPackaging multiple python modules in one Debian package
Message-ID<rWEF3-5jj-5@gated-at.bofh.it>
Hello dear All.

I'd like to package python app ofxstatement (converter of various csv
bank statement formats to ofx https://github.com/kedder/ofxstatement)
and bunch of plugins for this app.

Every plugin is just a small parser class which is called from
ofxstatement, parses input file and pass data back to main app. These
plugins are developed independently by various people who publish them
in separate repositories (mostly on github).

I decided to package ofxstatement as separate package, but put all
plugins in one package oxfstatement-plugins.

I'm not skilled in distributing python apps and packaging python
apps into .deb, so I'd like to get some review and feedback from the
community before upload to archive.

ofxstatement itself:
https://github.com/gerasiov/ofxstatement (branch debian)

ofxstatement-plugins:
https://github.com/gerasiov/ofxstatement-plugins

PS Please CC me, I'm not on the list.

-- 
Best regards,
 Alexander Gerasiov

 Contacts:
 e-mail: gq@cs.msu.su  Homepage: http://gerasiov.net  Skype: gerasiov
 PGP fingerprint: 04B5 9D90 DF7C C2AB CD49  BAEA CA87 E9E8 2AAC 33F1

[toc] | [next] | [standalone]


#8669

FromFred Drake <fred@fdrake.net>
Date2016-07-19 17:20 +0200
Message-ID<rWEYp-5F1-1@gated-at.bofh.it>
In reply to#8668
On Tue, Jul 19, 2016 at 10:47 AM, Alexander Gerasiov <gq@cs.msu.su> wrote:
> Every plugin is just a small parser class which is called from
> ofxstatement, parses input file and pass data back to main app. These
> plugins are developed independently by various people who publish them
> in separate repositories (mostly on github).

The high point I picked up here is that each plugin has it's own
lifecycle, controlled by independent developers.

> I decided to package ofxstatement as separate package, but put all
> plugins in one package oxfstatement-plugins.
>
> I'm not skilled in distributing python apps and packaging python
> apps into .deb, so I'd like to get some review and feedback from the
> community before upload to archive.

Grouping the plugins like this seems odd to me, because of the
independent lifecycles.  Perhaps something to consider is to create
separate debian packages for each (with names like
ofxstatement-plugin-abcdef), and maybe a convenience meta-package that
depends on some set of the plugin packages (ofxstatement-plugins).

I'm not sure whether the debian policies address this.  Hopefully
someone more knowledgable can comment on that.


  -Fred

-- 
Fred L. Drake, Jr.    <fred at fdrake.net>
"A storm broke loose in my mind."  --Albert Einstein

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


#8670

FromAlexander Gerasiov <gq@cs.msu.su>
Date2016-07-19 18:10 +0200
Message-ID<rWFKN-6cr-9@gated-at.bofh.it>
In reply to#8669
Hello Fred,

On Tue, 19 Jul 2016 11:15:00 -0400
Fred Drake <fred@fdrake.net> wrote:

> On Tue, Jul 19, 2016 at 10:47 AM, Alexander Gerasiov <gq@cs.msu.su>
> wrote:
> > Every plugin is just a small parser class which is called from
> > ofxstatement, parses input file and pass data back to main app.
> > These plugins are developed independently by various people who
> > publish them in separate repositories (mostly on github).
> 
> The high point I picked up here is that each plugin has it's own
> lifecycle, controlled by independent developers.
Most of them do not have real lifecycle, but exists on the scheme "bank
modified format -> author updated parser", so most the time we do not
need outdated version, but want fresh "snapshot" of actual plugins
versions.

> 
> > I decided to package ofxstatement as separate package, but put all
> > plugins in one package oxfstatement-plugins.
> >
> > I'm not skilled in distributing python apps and packaging python
> > apps into .deb, so I'd like to get some review and feedback from the
> > community before upload to archive.
> 
> Grouping the plugins like this seems odd to me, because of the
> independent lifecycles.  Perhaps something to consider is to create
> separate debian packages for each (with names like
> ofxstatement-plugin-abcdef), and maybe a convenience meta-package that
> depends on some set of the plugin packages (ofxstatement-plugins).
There are ~20 plugins, each of them have a pair of small files (and
heap of python's stuff). Better put them all in one binary package, I
believe.

In such case we save some archive space and much maintainer's time.


-- 
Best regards,
 Alexander Gerasiov

 Contacts:
 e-mail: gq@cs.msu.su  Homepage: http://gerasiov.net  Skype: gerasiov
 PGP fingerprint: 04B5 9D90 DF7C C2AB CD49  BAEA CA87 E9E8 2AAC 33F1

[toc] | [prev] | [standalone]


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


csiph-web