[Build-common-hackers] Bug#628110: Bug#628110: Bug#628110: cdbs: Wrong install dir for python modules

Jonas Smedegaard dr at jones.dk
Fri Jun 17 12:43:15 UTC 2011

On 11-06-17 at 02:17pm, Daniel Dehennin wrote:
> Jonas Smedegaard <dr at jones.dk> writes:
> > On 11-06-17 at 12:48pm, Daniel Dehennin wrote:
> >> > I see no problem with CDBS, then, and thus close this as a 
> >> > non-bug.
> >> 
> >> Hello,
> >> 
> >> I'm trying to provide a python module for an application, the 
> >> application install some modules in 
> >> /usr/lib/python2.6/dist-packages/zephir/monitor/agents/
> >> 
> >> Using CDBS with pycentral system, my module land in 
> >> /usr/lib/python2.6/site-packages/zephir/monitor/agents/ and is not 
> >> usable by the application[1]:
> >
> > Is your source package available somewhere public?
> Not really, this is a very tiny thing, only a .py I want to place 
> correctly, I think the most relevant part is debian/rules and 
> setup.py.
> Note that I want to compile this Ubuntu Lucid, I tried with 
> "DEB_PYTHON_SYSTEM=pysupport" and "DEB_PYTHON_SYSTEM=pycentral"[1]

CDBS is a framework to help avoid repetitive tasks in Debian packaging.

CDBS is not an aid to skip understanding the art of Debian packaging. 
You should know yourself what CDBS was supposed to do for each of the 
CDBS snippets you include into your packaging project.

CDBS is not an aid to skip using proper build frameworks.  If you write 
your Python Distutils file yourself, then please ensure that in fact it 
works well on its own, before applying another framework on top of it.

CDBS may or may not work on Ubuntu.  Ubuntu has a track record of 
breaking compatibility with Debian, Python compatibility being a 
concrete example.  We are quite happy if CDBS works on Ubuntu (we are 
not enemies) but if you run into problems then please try verify if 
problems persist on a Debian system, and if not then consult Ubuntu 
about them.

NB! Please post to the bugreport only, not cc me personally.

Kind regards,

 - Jonas

 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20110617/4c69b0eb/attachment.pgp>

More information about the Build-common-hackers mailing list