LWN.net Logo

Advertisement

Front, Kernel, Security, Distributions, Development. See your byline here on LWN.net.

Advertise here

Python 3 should include namespace for libraries and a CPAN repo

Python 3 should include namespace for libraries and a CPAN repo

Posted Sep 1, 2007 0:11 UTC (Sat) by ArbitraryConstant (subscriber, #42725)
In reply to: Python 3 should include namespace for libraries and a CPAN repo by dag-
Parent article: Python 3.0a1 released

meh

I find CPAN to be far too fickle and complex. Whenever possible, I'll use an OS's package manager instead. Which as it turns out is the same thing I do for Python, C libs, and pretty much anything else.


(Log in to post comments)

Python 3 should include namespace for libraries and a CPAN repo

Posted Sep 1, 2007 13:03 UTC (Sat) by peace (guest, #10016) [Link]

What I think Dag is saying is that the reason your package manager gets Perl right is that the Perl community has made it easy for package managers to package Perl modules. You may not like CPAN proper but is does apply a consistency to Perl modules that Python lacks.

As for cheese shop, close only cuts it if packagers such as Dag can rely on it in the same way that they can CPAN. Meaning it's Comprehensive and up to date.

Python 3 should include namespace for libraries and a CPAN repo

Posted Sep 1, 2007 19:03 UTC (Sat) by ArbitraryConstant (subscriber, #42725) [Link]

> What I think Dag is saying is that the reason your package manager gets
> Perl right is that the Perl community has made it easy for package managers
> to package Perl modules.

If that's so, then why does the package manager get Python/C/etc right as well?

Particularly given that CPAN sometimes needs external C libraries, I think it's appropriate to delegate the task to package managers.

Python 3 should include namespace for libraries and a CPAN repo

Posted Sep 4, 2007 18:20 UTC (Tue) by jdivine (guest, #18042) [Link]

Anecdotally, fewer Python packages seem to be available through native package managers, possibly because CPAN makes it easier to find and package the Perl modules.

Whenever possible, I install Perl or Python packages (all software in general, really) through the OS's package manager. That said, it's not always possible:

- the package might not be provided
- the desired version might not be available
- the system in question may not have a Linux-style package manager at all

I use Python more than Perl these days and I really miss Python's lack of a CPAN equivalent. CheeseShop and easy_install don't match up at all.

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds