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

2013-09-09 Thread Jakub Wilk
* 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?

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

2013-09-08 Thread Ben Finney
Ben Finney ben+deb...@benfinney.id.au writes: In that case, I currently have no good solution. I had hoped to use some Python standard-library resource access function to find the files wherever they are installed. I have hacked a work-around: * Patch the ‘MANIFEST.in’ and ‘setup.py’ to omit