Re: building a module for 2 versions
> I'm wondering if anyone has any nice methods of building python modules for
> multiple versions of python.
Try apt-get source python-pgsql - all the patches of interest are in
python-pgsql/debian. Since pymad comes with setup.py a similar
technique should work.
Specifically, in debian/rules you replace your calls to $(PYTHON)/setup.py
with three separate calls running three different versions of python (or
however many versions you want to support). There's also calls to
debian/pathmangle.sh to fix the interpreters called by the various
runtime scripts.
b.
Reply to: