Skip to content
Nicholas Davidson edited this page Nov 12, 2013 · 7 revisions

Local test builds

To prepare local test builds directly from git (without using an existing tag or creating a new tag), use the setuptools.py to create a tarball.

$ python setup.py sdist

The Debian packaging is separate: https://github.com/codehelp/pybit-debian

To build a debian package from a sdist tarball you need to look at the debian/README.source and also use a .gbp.conf like the following

[DEFAULT]
#builder = git-pbuilder
builder = debuild
cleaner = fakeroot debian/rules clean
pristine-tar = True

[git-buildpackage]
export-dir = ../build-area/
tarball-dir = ../tarballs/

[git-import-orig]
dch = False

###You may also want to see: