Bug#738156: ITP: python-klein -- Python Twisted Web micro-framework inspired by Flask

2014-02-07 Thread Brian Campbell
Package: wnpp Severity: wishlist Owner: Brian Campbell * Package name: python-klein Version : 0.2.3 Upstream Author : David Reid * URL : https://github.com/twisted/klein * License : MIT (Expat) Programming Lang: Python Description : Python Twisted Web

Re: Next time help needed, now with a real Python library (pysam)

2014-02-07 Thread Andreas Tille
Hi Olivier, On Fri, Feb 07, 2014 at 06:08:20PM +0100, Olivier Sallou wrote: > > You could first try deleting: > > 130 from distribute_setup import use_setuptools > 131 use_setuptools() > > if setuptools is already installed. Patch commited - thanks for the hint. > > How can I prevent the b

Re: Next time help needed, now with a real Python library (pysam)

2014-02-07 Thread Olivier Sallou
On 02/07/2014 05:12 PM, Andreas Tille wrote: > Hi folks, > > since it worked out pretty well with my more simple question I'm > impudent enough to come up with a more tricky question: I need to > tackle > > git://anonscm.debian.org/debian-med/pysam.git > > as a predependency of another packag

Next time help needed, now with a real Python library (pysam)

2014-02-07 Thread Andreas Tille
Hi folks, since it worked out pretty well with my more simple question I'm impudent enough to come up with a more tricky question: I need to tackle git://anonscm.debian.org/debian-med/pysam.git as a predependency of another package but it seems I need to tweek the build process initially sa

Re: Bug#736721: Incorrect dependencies

2014-02-07 Thread Jonas Borgström
On 2014-02-07 15:08 , Julien Cristau wrote: > On Fri, Feb 7, 2014 at 15:04:47 +0100, Jonas Borgström wrote: > >> On 2014-02-07 12:12 , Jakub Wilk wrote: >>> What attic/crypto.py currently does is: >>> >>> libcrypto = cdll.LoadLibrary(find_library('crypto')) >>> >>> But there is no guarantee that

Re: Bug#736721: Incorrect dependencies

2014-02-07 Thread Julien Cristau
On Fri, Feb 7, 2014 at 15:04:47 +0100, Jonas Borgström wrote: > On 2014-02-07 12:12 , Jakub Wilk wrote: > > What attic/crypto.py currently does is: > > > > libcrypto = cdll.LoadLibrary(find_library('crypto')) > > > > But there is no guarantee that find_library('crypto') returns a library > > th

Re: Bug#736721: Incorrect dependencies

2014-02-07 Thread Jonas Borgström
On 2014-02-07 12:12 , Jakub Wilk wrote: > What attic/crypto.py currently does is: > > libcrypto = cdll.LoadLibrary(find_library('crypto')) > > But there is no guarantee that find_library('crypto') returns a library > that is ABI-compatible with the Python code. For the Debian package, a > quick&d

Re: Help with packaging of python executable and its modules

2014-02-07 Thread Piotr Ożarowski
[Andreas Tille, 2014-02-07] > On Fri, Feb 07, 2014 at 02:41:10PM +0100, Julian Taylor wrote: > > I assume this is a python application and not a library? > > It is an application including some private modules which I like to be > compiled into *.pyc. please install to /usr/share/package-name/ bo

Re: Help with packaging of python executable and its modules

2014-02-07 Thread Andreas Tille
Hi Julian, On Fri, Feb 07, 2014 at 02:41:10PM +0100, Julian Taylor wrote: > > I assume this is a python application and not a library? It is an application including some private modules which I like to be compiled into *.pyc. > don't install into pyshared, its an implementational detail that

Re: Help with packaging of python executable and its modules

2014-02-07 Thread Piotr Ożarowski
[Andreas Tille, 2014-02-07] >/usr/share/pyshared/arden/core /usr/share/pyshared/ (and /usr/lib/pyshared/) is implementation detail (it will be removed once python-support is no longer used) > and tried to patch the executable scripts to say something like > > from arden.core import AnalyseM

Re: Help with packaging of python executable and its modules

2014-02-07 Thread Olivier Sallou
On 02/07/2014 02:41 PM, Julian Taylor wrote: > > > On Fri, Feb 7, 2014 at 2:20 PM, Andreas Tille > wrote: > > Hi folks, > > I have commited some packaging for a bioinformatics package arden to > >git://anonscm.debian.org/debian-med/arden.git >

Re: Help with packaging of python executable and its modules

2014-02-07 Thread Julian Taylor
On Fri, Feb 7, 2014 at 2:20 PM, Andreas Tille wrote: > Hi folks, > > I have commited some packaging for a bioinformatics package arden to > >git://anonscm.debian.org/debian-med/arden.git > > Since it expects to find its modules under the pretty generic name > "core" I decided to move the modu

Re: Help with packaging of python executable and its modules

2014-02-07 Thread Olivier Sallou
I have uploaded a patch and an update to rules and control. Seems to work now. Olivier On 02/07/2014 02:20 PM, Andreas Tille wrote: > Hi folks, > > I have commited some packaging for a bioinformatics package arden to > >git://anonscm.debian.org/debian-med/arden.git > > Since it expects to fi

Help with packaging of python executable and its modules

2014-02-07 Thread Andreas Tille
Hi folks, I have commited some packaging for a bioinformatics package arden to git://anonscm.debian.org/debian-med/arden.git Since it expects to find its modules under the pretty generic name "core" I decided to move the modules under /usr/share/pyshared/arden/core and tried to patch the

Re: Bug#736721: Incorrect dependencies

2014-02-07 Thread Jakub Wilk
What attic/crypto.py currently does is: libcrypto = cdll.LoadLibrary(find_library('crypto')) But there is no guarantee that find_library('crypto') returns a library that is ABI-compatible with the Python code. For the Debian package, a quick&dirty fix is to replace the find_library() call with

Re: Bug#736721: Incorrect dependencies

2014-02-07 Thread Jonas Borgström
On 2014-02-07 08:37 , Dmitry Shachnev wrote: > Hi Clint, > > See http://docs.python.org/3/library/ctypes.html for description of > how ctypes works. As Python programs are interpreted, the only way to > access external shared libraries from Python code is by dlopen()ing > them. By looking at attic