Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a one-file boost::python module which is compiled using a one-line Makefile. What is the recommended way of packaging it? Distutils? Makefile? CMake? Use CDBS then? Are there some documents on the subject?

share|improve this question
Would you accept your answer as that what worked for you. – Sneetsher Apr 20 at 9:16
up vote 2 down vote accepted

I finally used distutils (very short then run dh_make which sets up debhelper-based (almost empty) debian/rules and most of the rest. Result is here.

share|improve this answer
I use distutils. The only issue some people have with it is that it doesn't usually 'fit' neatly with aptitude and doesn't offer an uninstall option – RobotHumans Feb 10 '12 at 16:13

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.