Raphael Hertzog <[EMAIL PROTECTED]> writes: > On Tue, 20 Mar 2007, Josselin Mouette wrote: > > Nope, dh_clean -k is fine. It's just that installation should > > start after calling it, not in the build target. > > Installation currently happens in "install-pythonX.Y" which is > called before the "install" target since it's a dependency. Thus > dh_clean -k removes what's installed.
I see what you're saying now. > Since the package is "arch: all" the python setup.py call should > simply be placed in the install target and the targets > install-pythonX.Y should be removed. Part of that target is to rename the generated egg-info directory; Setuptools creates it as 'foo-N.M-pyX.Y.egg-info', but the python-central documentation seems to indicate this should be renamed to 'foo.egg-info': # install only one Egg dir (without python's version number) mv debian/${PACKAGE_NAME}/usr/lib/python$*/site-packages/${MODULE_NAME}-${DEB_UPSTREAM_VERSION}-py$*.egg-info \ debian/${PACKAGE_NAME}/usr/lib/python$*/site-packages/${MODULE_NAME}.egg-info How can this be done properly without knowing the exact name (including Python version) that Setuptools will create? -- \ "The most common of all follies is to believe passionately in | `\ the palpably not true. It is the chief occupation of mankind." | _o__) -- Henry L. Mencken | Ben Finney -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]