> And what formerly has been known as
> "apt-get" (for most people the main reason to use Debian) is now
> "aptitude".

Thanks, I hadn't heard of "aptitude".  I recently switched to Kubuntu
after abandoning Debian a few years ago, and still use apt-get along
with adept_manager (KDE's front end).  [Running 'aptitude' ...]  It
seems to be an update of the old "dselect" program (a console-based
visual package chooser) plus the apt-get commands.

> Search docs.pythonweb.org for "sandbox". There are different approaches
> for installing packages on Debian. Debian developers will always tell
> you to use Debian's shipped packages. While other people may argue that
> setuptools+cheeseshop+eggs are the real way to install software. The
> problem with the latter approach is that Debian doesn't know about
> software you installed manually. So if you apt-get install pylons and
> have other packages lying around on your system you will get into bad
> trouble sooner or later because it depends on the search path which
> version you use.

Using OS packages is generally better for a quiet life if the package
is stable and you don't need the just-released-yesterday version.
It's also a good fallback if you have trouble easy_install'ing a
Python package that depends on external C libraries or headers.
However, it doesn't work if the package or its dependencies are
evolving rapidly and you need to use a feature or bugfix that's only
in the development or just-released version -- which I frequently
encounter with Pylons.

I use OS packages for things that can be hard to compile
(python-mysql, Imaging) or that I only use occasionally (docutils),
and make a workingenv [1] for each Pylons app (separate from the
application directory itself), and easy_install Pylons and
application-specific packages into it.

[1] http://cheeseshop.python.org/pypi/workingenv.py/

Installing the same package at the OS level and easy_install'ing it
could lead to version skew, since Python sometimes adds eggs to
sys.path in a different order than you'd like.

-- 
Mike Orr <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to