[Jakub Wilk, 2013-09-09] > * Ben Finney <ben+deb...@benfinney.id.au>, 2013-09-09, 13:36: > >* Use ‘<packagename>.links’ to make a symlink for each package to > >‘usr/share/<packagename>/foofile’ at > >‘usr/lib/python${PYTHON_VERSION}/dist-packages/${DISTRIBUTION_NAME}/foofile’. > > How can you do that without hardcoding Python version?
should I add debian/pkg.pylinks support in dh_py{thon{2,3},py} that moves original files to /usr/share/ and replaces originals with symlinks (or create symlinks if files were installed directly to /usr/share)? | foo | bar.baz | egg /usr/share/otherpkg/static/ could generate: /usr/lib/pythonX.Y/foo → /usr/share/pkg/foo /usr/lib/pythonX.Y/bar/baz → /usr/share/pkg/bar/baz /usr/lib/pythonX.Y/egg → /usr/share/otherpkg/static/egg -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645 -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130909124645.gn24...@p1otr.com