1

I am using package guide of Ubuntu (http://packaging.ubuntu.com/html/packaging-new-software.html), but I am stuck in compilation stage. I can compile .deb using

dpkg-buildpackage -rfakeroot -uc -us

but, bzr dpkg-buildpackage -rfakeroot -uc -us or bzr buildeb -rfakeroot -uc -us gives not found error. Also on launchpad, the project build always fails.

wakeup
  • 945

1 Answers1

2

In an answer to a slightly different question, I mention stdeb. If your project is packaged on PyPI you can:

# enable proposed repos first!
sudo apt-get update
sudo apt-get install python-stdeb
sudo pypi-install xxxx

(where xxxx is the PyPI name)

If it's packaged (for setuptools, etc) but not on PyPI you can still use py2dsc (which ships with stdeb) which can convert a .tgz of your project into a deb file.

You can read more about this with more example on stdeb's PyPI page.

If it's not packaged or on PyPI, then yeah, you've got the "proper" route ahead, though you can side-step a lot of the process with this wonderful answer. You don't need to recommit everything into BZR and upload it just to build a deb.

Oli
  • 293,335