version independent pythin packages: ?
Hi,
Python policy states:
2. A single package for all versions (NOT YET SUPPORTED!)
You have a version independent Python module. Create a single
package `python-<foo>' that has a dependency
Depends: python
It should install modules somewhere inside
`/usr/lib/python/site-packages/' and use `#!/usr/bin/python' for
programs. The `postinst' script should create symlinks in all
`/usr/lib/pythonX.Y/site-packages/' directories that point to
its `/usr/lib/python/site-packages/' files and compile them.
This may be a dumb question, but why not use /usr/lib/site-python?
Since that's in the PYTHONPATH for all Python versions Debian ships with,
there should be no requirement to do any post-installation of symlinks.
Some .pyc files might possibly be out-of-date, but for reasonably-small
packages that won't be much of a problem, IMHO.
--
Matthias Urlichs | {M:U} IT Design @ m-u-it.de | smurf@smurf.noris.de
Disclaimer: Das Zitat wurde zufällig ausgewählt. | http://smurf.noris.de
--
Auf jedes Mädchen mit Kurven kommen zehn Männer mit Geraden.
Reply to: