You are here: Fladi.at>Projects Web>PackagingPitfalls (16 Jun 2010, fladischermichael)EditAttach

PackagingPitfalls

There are several common pitfalls which I came across while building Python packages for Debian.

.deb file

Check for Mac OSX artifacts (._*) inside the archive.

rules

Overriding dh_auto_test

Don't forget to check for the existence of nocheck in DEB_BUILD_OPTIONS if you run your own tests: %CODE{lang="makefile"}% .PHONY: override_dh_auto_test override_dh_auto_test: ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) set -e; ... run tests here ... endif %ENDCODE%

copyright

Search for authors

%CODE{lang="bash"}% grep copyr -Ri * %ENDCODE%

control

clean

Try to use generic patterns to keep the file simple.

pyversions

Check for existence!

docs

patches

Provide Description!
Topic revision: r1 - 16 Jun 2010 - 10:45:05 - fladischermichael
 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Fladi.at? Send feedback