paster setup-app in postinst script

2012-12-08 Thread Cornelius Kölbel
Hello, I am building a debian package of a python application (pylons application). In the postinst script I want to setup the database or update the database, so I'd like to run paster setup-app myapp.ini which would generate the database or add new database tables. But I am getting error f

RFR: python-qrcode -- native python module to generate QR codes

2013-02-14 Thread Cornelius Kölbel
Hello, I created and uploaded a debian package with a python module: * Package name: qrcode Version : 2.4.2-1 Upstream Author : Lincoln Loop * URL : https://github.com/lincolnloop/python-qrcode * License : BSD (2 clause) MIT/X11 (BSD like) Section

Re: RFR: python-qrcode -- native python module to generate QR codes

2013-02-17 Thread Cornelius Kölbel
Am 16.02.2013 15:42, schrieb Jakub Wilk: > * Cornelius Kölbel , 2013-02-14, 16:53: >> http://mentors.debian.net/package/qrcode > > Link to .dsc for the lazy: > http://mentors.debian.net/debian/pool/main/q/qrcode/qrcode_2.4.2-1.dsc > (2.4.2-1) > > Please drop the prein

Re: RFR: python-qrcode -- native python module to generate QR codes

2013-02-18 Thread Cornelius Kölbel
Hi Jabuk, Am 18.02.2013 15:59, schrieb Jakub Wilk: > * Cornelius Kölbel , 2013-02-17, 13:46: >> thanks a lot for your feedback. I think I took care of all your >> comments - although I was not able to run your lintian4py. > > Out of interest, why? I am running a squeeze sy

Re: RFR: python-qrcode -- native python module to generate QR codes

2013-02-18 Thread Cornelius Kölbel
Am 18.02.2013 16:16, schrieb Andrey Rahmatullin: > On Mon, Feb 18, 2013 at 04:09:27PM +0100, Cornelius Kölbel wrote: >> What would be your recommended way to install/use lintian4py? > You need a sid system in some form to build and test packages for sid > anyway so it's not

Re: RFR: python-qrcode -- native python module to generate QR codes

2013-02-18 Thread Cornelius Kölbel
Am 18.02.2013 15:59, schrieb Jakub Wilk: > * Cornelius Kölbel , 2013-02-17, 13:46: >> thanks a lot for your feedback. I think I took care of all your >> comments - although I was not able to run your lintian4py. > > Out of interest, why? > >> Should I increase the

Re: RFR: python-qrcode -- native python module to generate QR codes

2013-02-18 Thread Cornelius Kölbel
Hello, I uploaded a reworked version of python-qrcode. * Package name: qrcode Version : 2.4.2-1 Upstream Author : Lincoln Loop * URL : https://github.com/lincolnloop/python-qrcode * License : BSD (2 clause) MIT/X11 (BSD like) Section : python

Re: RFR: python-qrcode -- native python module to generate QR codes

2013-02-21 Thread Cornelius Kölbel
Am 19.02.2013 23:34, schrieb Jakub Wilk: > * Cornelius Kölbel , 2013-02-18, 18:05: > > Why do you include compressed README and changelog in debian? :/ > You probably should use dh_installdoc and dh_installchangelog to > install them, not dh_install. Hi Jakub, I managed to us

Re: RFR: python-qrcode -- native python module to generate QR codes

2013-02-21 Thread Cornelius Kölbel
Am 21.02.2013 19:08, schrieb Jakub Wilk: > * Cornelius Kölbel , 2013-02-21, 18:15: >> I am not sure how to add the upstream changelog without change the >> default simple debian/rules file? > > Adding something like this (untested) to debian/rules

Re: RFR: python-qrcode -- native python module to generate QR codes

2013-02-21 Thread Cornelius Kölbel
Am 21.02.2013 20:09, schrieb Cornelius Kölbel: > Am 21.02.2013 19:08, schrieb Jakub Wilk: >> * Cornelius Kölbel , 2013-02-21, 18:15: >>> I am not sure how to add the upstream changelog without change the >>> default simple debian/rules file? >> Adding somethi

Re: RFR: python-qrcode -- native python module to generate QR codes

2013-02-21 Thread Cornelius Kölbel
Am 21.02.2013 20:42, schrieb Jakub Wilk: > * Cornelius Kölbel , 2013-02-21, 20:14: >>> http://mentors.debian.net/debian/pool/main/q/qrcode/qrcode_2.4.2-1.dsc >> Great. The mentors site suddenly gives me lintian warnings, that were >> not there earlier and that did give

Re: RFR: python-qrcode -- native python module to generate QR codes

2013-04-14 Thread Cornelius Kölbel
Am 13.04.2013 05:46, schrieb Hans-Christoph Steiner: > On 02/21/2013 03:34 PM, Cornelius Kölbel wrote: >> Am 21.02.2013 20:42, schrieb Jakub Wilk: >>> * Cornelius Kölbel , 2013-02-21, 20:14: >>>>> http://mentors.debian.net/debian/pool/main/q/qrcode/qrcode_2.4.2-1

Re: RFR: python-qrcode -- native python module to generate QR codes

2013-04-15 Thread Cornelius Kölbel
Am 15.04.2013 03:15, schrieb Hans-Christoph Steiner: > On 04/14/2013 03:10 AM, Cornelius Kölbel wrote: >> Am 13.04.2013 05:46, schrieb Hans-Christoph Steiner: >>> On 02/21/2013 03:34 PM, Cornelius Kölbel wrote: >>>> Am 21.02.2013 20:42, schrieb Jakub Wilk: >>

Use the just installed package in the postinst script

2013-05-27 Thread Cornelius Kölbel
Hello, I have a python package with postinst script. I'd like to use my just installed python package IN the postinst script to setup the necessary database. Although I am calling a update-python-modules in the postinst, the package is not available, yet. Do you have any tricks for this scen

Re: Use the just installed package in the postinst script

2013-05-29 Thread Cornelius Kölbel
Hello Jakub, thanks for the hint! update-python-modules -p did the trick. Kind regards Cornelius Am 27.05.2013 21:25, schrieb Jakub Wilk: > * Cornelius Kölbel , 2013-05-27, 17:30: >> Although I am calling a >>update-python-modules >> in the postinst, the package

multiple deb packages from python program.

2014-08-30 Thread Cornelius Kölbel
Hello, I have a python program that I package as as a debian package. The debian directory can be found here. https://github.com/privacyidea/privacyidea/tree/master/debian I have a simple debian/rules file, that worked fine so far: #!/usr/bin/make -f %: dh $@ --with python2 --buildsyste

get started with building own packages

2015-10-02 Thread Cornelius Kölbel
nd regards Cornelius -- Cornelius Kölbel cornelius.koel...@netknights.it +49 151 2960 1417 NetKnights GmbH http://www.netknights.it Landgraf-Karl-Str. 19, 34131 Kassel, Germany Tel: +49 561 3166797, Fax: +49 561 3166798 Amtsgericht Kassel, HRB 16405 Geschäftsführer: Cornelius Kölbel sig

Re: get started with building own packages

2015-10-02 Thread Cornelius Kölbel
Am Freitag, den 02.10.2015, 16:15 +0500 schrieb Andrey Rahmatullin: > On Fri, Oct 02, 2015 at 12:54:47PM +0200, Cornelius Kölbel wrote: > > It is written in flask and requires additional packages, which are not > > available in Jessie, yet: > > > > * python-flask-cache

Re: get started with building own packages

2015-10-02 Thread Cornelius Kölbel
Am Freitag, den 02.10.2015, 16:02 +0200 schrieb Paul Wise: > On Fri, Oct 2, 2015 at 1:48 PM, Cornelius Kölbel wrote: > > > At the moment I have a package > > > > privacyidea-apache2 and privacyidea-nginx, > > which both require python-privacyidea, the webserver, d

Re: get started with building own packages

2015-10-02 Thread Cornelius Kölbel
Am Freitag, den 02.10.2015, 16:39 +0200 schrieb Paul Wise: > On Fri, Oct 2, 2015 at 4:04 PM, Cornelius Kölbel wrote: > > > Ah, so apache2 and nginx provide httpd. I was not aware of this. > > Yes, along with a lot of other web servers. You could also just depend > on apache

Wrong package name python-jwt

2016-08-29 Thread Cornelius Kölbel
d way to deal with that? Is there a way to exclude a single package from ${python:Depends}? Like exclude python-pyjwt and manually Depending python-jwt. Thanks a lot Cornelius -- Cornelius Kölbel cornelius.koel...@netknights.it +49 151 2960 1417 NetKnights GmbH http://www.netknights.it Landg

Re: Wrong package name python-jwt

2016-08-29 Thread Cornelius Kölbel
Hello Piotr, thanks a lot. That did the trick. Please enlighten me. dh-python maps python module names to debian package names? Kind regards Cornelius Am Montag, den 29.08.2016, 12:47 +0200 schrieb Piotr Ożarowski: > [Cornelius Kölbel, 2016-08-29] > > > > Due to ${pyth

Re: Wrong package name python-jwt

2016-08-29 Thread Cornelius Kölbel
tu.com/manpages/precise/man1/dh_python2.1.html > > And here's a little bit more (but I suppose you already know this > doc): > https://wiki.debian.org/Python/LibraryStyleGuide > > Filip > > On 2016/08/29 13:04, Cornelius Kölbel wrote: > > > > Hello Piot