[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Major update of python-support



OoO Pendant le repas du lundi 02 mars 2009, vers 19:44, je disais:

> I use this snippet then (with cdbs):

> ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
> common-install-indep::

> 	PYTHONPATH='debian/$(cdbs_curpkg)/$(cdbs_python_support_path)/' \
> 		python tests/runner.py

> 	# Importing the modules generates .pyc files, and dh_python (which
> 	# normally cleans them) has already been run. Remove them manually.
> 	find 'debian/$(cdbs_curpkg)' -name '*.py[co]' -print0 \
> 	| xargs -0 rm -f --
> endif

Which can be shorten to:

ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
common-install-indep::
	PYTHONPATH='debian/$(cdbs_curpkg)/$(cdbs_python_support_path)/' \
		python tests/runner.py
endif
-- 
I AM SO VERY TIRED
I AM SO VERY TIRED
I AM SO VERY TIRED
-+- Bart Simpson on chalkboard in episode AABF20

Attachment: pgpmZjnxyN0u8.pgp
Description: PGP signature


Reply to: