~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/canonical/librarian/Makefile

  • Committer: Guilherme Salgado
  • Date: 2010-04-27 19:48:39 UTC
  • mto: This revision was merged to the branch mainline in revision 10969.
  • Revision ID: salgado@canonical.com-20100427194839-9mty2w6n33vow76k
Use the default python version instead of a hard-coded version

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
PYTHON_VERSION:=2.5
 
1
# XXX: Nasty hack to make sure the default python is used when
 
2
# building/running.
 
3
PYTHON_VERSION:=$(shell python -c 'import sys; print ".".join(["%d" % n for n in sys.version_info[:2]])')
2
4
TWISTD:=twistd$(PYTHON_VERSION)
3
5
 
4
6
PYTHONPATH=../..