~ubuntu-branches/ubuntu/lucid/python-defaults/lucid

« back to all changes in this revision

Viewing changes to debian/python.mk

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2009-02-26 12:52:00 UTC
  • Revision ID: james.westby@ubuntu.com-20090226125200-tp5ol4iux2azzjpd
Tags: 2.5.4-0ubuntu6
python-all*: Tighten the dependencies on the python-* packages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
 
29
29
# The same macros for use in shell snippets
30
30
 
31
 
py_sitename_sh = $$(basename $$(python$(subst python,,$(1)) -c 'from distutils import sysconfig; print sysconfig.get_python_lib()'))
 
31
py_sitename_sh = $$(basename $$(_py_=$(strip $(1)); python$${_py_\#python*} -c 'from distutils import sysconfig; print(sysconfig.get_python_lib())'))
32
32
 
33
 
py_libdir_sh = $$(python$(subst python,,$(1)) -c 'from distutils import sysconfig; print sysconfig.get_python_lib()')
 
33
py_libdir_sh = $$(_py_=$(strip $(1)); python$${_py_\#python*} -c 'from distutils import sysconfig; print(sysconfig.get_python_lib())')
34
34
 
35
35
# Arguments to pass to setup.py install
36
36
py_setup_install_args = --install-layout=deb