Le dim 10/08/2003 à 14:44, Donovan Baarda a écrit : > There are probably some packages that have "Depends: python" that work > with a whole variety of versions of python. Provided they compile their > modules with "/usr/bin/python" in their postinst, and remove the pyc's > and pyo's in their postrm, they should not need updating. > > However, people who have these packages installed before the 2.2 -> 2.3 > transition will have pyc's compiled for 2.2 when the default python is > 2.3, unless the new python (2.3) package is going to do something about > it to re-compile them all. > > Is there any magic planned :-) > > Does anyone want me to contibute some code to try and do this? I think > the "python-central" stuff has most of the code to handle this, it just > needs a little bit of tweaking.
If you can provide a good solution to achieve this, it will surely be welcome. In the meantime, please don't do what you describe with packages shipping .py files. You should depend on python (>= 2.3), python (<< 2.4) - this can be done automatically with dh_python. -- .''`. Josselin Mouette /\./\ : :' : [EMAIL PROTECTED] `. `' [EMAIL PROTECTED] `- Debian GNU/Linux -- The power of freedom
signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=