[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: question on packaging of python applications



Moshe Zadka <moshez@math.huji.ac.il> writes:
> Say module x Depends: on Python. Where do you install it? python1.5 or
> python2.0? Remember that you must encode this information in the 
> package itself.

Any package that has a binary extension in it will necessarily have to
be compiled for a specific Python version.  Quite a few of the most
useful Python add-ons are in this category, so they would have to
transition to Python 2.0 in the same manner that a normal application
transitions to new versions of the libraries it depends on.

For things which are truly independent of the Python version, there is
/usr/lib/site-python.  While python-base does not appear to create
this directory, it is part of the default sys.path (in the current
1.5.2 packages) and there are at least two packages (reportbug and
dpkg-python) which live there.

--Rob

-- 
Rob Tillotson  N9MTB  <robt@debian.org>



Reply to: