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

Re: Installing platform-independent resources outside the Python package (was: Specifying ‘--install-data’ for each binary package)



[Jakub Wilk, 2013-09-09]
> * Ben Finney <ben+debian@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


Reply to: