Re: Packaging a Python program
Anthony Roach wrote:
So when there is a Debian package for Python 2.1, will I have to have a
python21-scons that depends on python << 2.2, python >= 2.1? I'm assuming I do,
because Python 2.1 will use /usr/lib/python2.1 rather than
/usr/lib/python2.0.
Exactly. With Python 2.1 you will have to make a 2.1 compatible .deb
package.
Now I'm wondering how it's going to work when someone has both python and
python2 installed, and they do 'apt-get install scons'. Will it install
python-scons, python2-scons, or both. I want it to install both, so the user
can use scons with either python. Perhaps I should put this in my control file
for scons:
The order in which alternatives get processed is not specified. It could
be both ways.
Depends: python-scons|python2-scons
Recommended: python-scons, python2-scons
Or maybe Suggests? I'm not sure either of these will really do what I want.
Make a suggestion, a recommendation is too hard as some users might want to stick
to a single Python installation and dont want to install multiple versions.
Greetings, Bastian
Reply to: