sick of distribute, setup, and all the rest...

rusi rustompmody at gmail.com
Sun Nov 27 23:25:16 EST 2011


On Nov 28, 2:46 am, Cameron Simpson <c... at zip.com.au> wrote:
> On 27Nov2011 23:54, Matt Joiner <anacro... at gmail.com> wrote:
> | Agreed. I recently gave Haskell a go, and it was remarkable how
> | similar the package management is to Python's.
> |
> | How well does the new "packaging" (set for release in Python 3.3?)
> | module deal with the problems?
> |
> | With a better package management system, the half of the standard
> | library that nobody uses can be unceremoniously dumped, and their more
> | recent upstream versions used correctly. Even distutils itself is
> | "obsolete", the first recommendation people give is to replace it with
> | distribute and/or pip.
>
> Ah the cheery optimism of the end user.
> Package systems have a lot of fun complications.
>
> Install for the user only? For the whole system?
> Architecture specific?
> What if people want access to different versions of a package?
> What about vendor supplied (eg RPM) versus user obtained? They'll fight,
> one way or another. What if policy has user supplied installing to its
> own tree (sensible to avoid conflicts) - the fetch/install kit need to
> know this.
> What about stability? Your "half of the standard library that nobody uses can
> be unceremoniously dumped, and their more recent upstream versions used
> correctly" leads to bugs in the apps that use the packages if they depend on
> particular versions/APIs. The stdlib is generally quite careful about
> breaking APIs but other packagers often are less so.
>
> I can make this list bigger or more detailed if you want.  All package
> systems have these issues. They're not as trivial as you might imagine.

Where is there any implication that there are not issues or that they
are trivial?
At the end of his life Dijkstra said: The single biggest problem in
computer science is how not to make a mess of it; that problem remains
unsolved.

The OP simply expressed a wish for improvement and I seconded that
[and pls ignore ranters with oedipal problems]

>From my post from a few months http://mail.python.org/pipermail/python-list/2011-May/1271765.html

If I may restate:
Too much mindshare is devoted to all the linguistic features of
python: garbage collection, identation, metaclasses and all that other
good stuff from the 70s and too little to extra-linguistic ecosystem
features below:

If the linguistic features were all that mattered Lisp would be the
king of languages today


>
> >    | Area             | Tool(s)                |
> >    |------------------+------------------------|
> >    | packaging        | distutils, setuptools, |
> >    |                  | distutils2, distribute |
> >    |                  | Native tools (eg apt)  |
> >    | versioning       | hg, git, bzr           |
> >    | multiple pythons | virtualenv             |
> >    | ??               | tox                    |
> >    | testing          | unittest, nose, pytest |
> >    | build            | scons, make...         |
> >    | deployment       | fabric                 |
>



More information about the Python-list mailing list