[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

Re: cpan for python?

ssteinerX@gmail.com

2/28/2010 2:32:00 PM


On Feb 28, 2010, at 9:28 AM, Someone Something wrote:

> Is there something like cpan for python? I like python's syntax, but I use perl because of cpan and the tremendous modules that it has. --

Please search the mailing list archives.

This subject has been discussed to absolute death.

Draw your own conclusions about what is currently and may, in the future, be available.

S

10 Answers

R Fritz

3/2/2010 9:15:00 PM

0

On 2010-02-28 06:31:56 -0800, ssteinerX@gmail.com said:

>
> On Feb 28, 2010, at 9:28 AM, Someone Something wrote:
>
>> Is there something like cpan for python? I like python's syntax, but
>> Iuse perl because of cpan and the tremendous modules that it has. --
>
> Please search the mailing list archives.
>
> This subject has been discussed to absolute death.

But somehow the question is not in the FAQ, though the answer is. See:

<http://www.python.org/doc/faq/library/#how-do-i-find-a-module-or-application-to-perform-...

--


Randolph Fritz
design machine group, architecture department, university of washington
rfritz@u.washington.edu -or- rfritz333@gmail.com

TomF

3/2/2010 10:48:00 PM

0

On 2010-03-02 13:14:50 -0800, R Fritz <rfritz@u.washington.edu> said:

> On 2010-02-28 06:31:56 -0800, ssteinerX@gmail.com said:
>>
>> On Feb 28, 2010, at 9:28 AM, Someone Something wrote:
>>
>>> Is there something like cpan for python? I like python's syntax, but
>>> Iuse perl because of cpan and the tremendous modules that it has. --
>>
>> Please search the mailing list archives.
>>
>> This subject has been discussed to absolute death.
>
> But somehow the question is not in the FAQ, though the answer is. See:
>
> <http://www.python.org/doc/faq/library/#how-do-i-find-a-module-or-application-to-perform-...

There
>
is also a program called cpan, distributed with Perl. It is used for
searching, downloading, installing and testing modules from the CPAN
repository. It's far more extensive than setuptools. AFAIK the python
community has developed nothing like it.

-Tom

Lie Ryan

3/3/2010 3:59:00 AM

0

On 03/03/2010 09:47 AM, TomF wrote:
> On 2010-03-02 13:14:50 -0800, R Fritz <rfritz@u.washington.edu> said:
>
>> On 2010-02-28 06:31:56 -0800, ssteinerX@gmail.com said:
>>>
>>> On Feb 28, 2010, at 9:28 AM, Someone Something wrote:
>>>
>>>> Is there something like cpan for python? I like python's syntax, but
>>>> Iuse perl because of cpan and the tremendous modules that it has. --
>>>
>>> Please search the mailing list archives.
>>>
>>> This subject has been discussed to absolute death.
>>
>> But somehow the question is not in the FAQ, though the answer is. See:
>>
>> <http://www.python.org/doc/faq/library/#how-do-i-find-a-module-or-application-to-perform-...
>>
>
> There
> is also a program called cpan, distributed with Perl. It is used for
> searching, downloading, installing and testing modules from the CPAN
> repository. It's far more extensive than setuptools. AFAIK the python
> community has developed nothing like it.

python have easy_install

John Bokma

3/3/2010 4:59:00 AM

0

Lie Ryan <lie.1296@gmail.com> writes:

> On 03/03/2010 09:47 AM, TomF wrote:

[..]

>> There
>> is also a program called cpan, distributed with Perl. It is used for
>> searching, downloading, installing and testing modules from the CPAN
>> repository. It's far more extensive than setuptools. AFAIK the python
>> community has developed nothing like it.
>
> python have easy_install


How easy is it to /remove/ something? ;-) (Last time I checked I read
something like "manually remove the .egg"...

--
John Bokma j3b

Hacking & Hiking in Mexico - http://john...
http://castle... - Perl & Python Development

Ben Finney

3/3/2010 5:17:00 AM

0

Lie Ryan <lie.1296@gmail.com> writes:

> On 03/03/2010 09:47 AM, TomF wrote:
> > There is also a program called cpan, distributed with Perl. It is
> > used for searching, downloading, installing and testing modules from
> > the CPAN repository. It's far more extensive than setuptools. AFAIK
> > the python community has developed nothing like it.
>
> python have easy_install

Indeed. And that program is nothing like the Perl â??cpanâ?? program.

--
\ â??Value your freedom or you will lose it, teaches history. |
`\ â??Don't bother us with politics,â? respond those who don't want |
_o__) to learn.â? â??Richard Stallman, 2002 |
Ben Finney

TomF

3/3/2010 8:23:00 AM

0

On 2010-03-02 19:59:01 -0800, Lie Ryan <lie.1296@gmail.com> said:

> On 03/03/2010 09:47 AM, TomF wrote:
>> On 2010-03-02 13:14:50 -0800, R Fritz <rfritz@u.washington.edu> said:
>>
>>> On 2010-02-28 06:31:56 -0800, ssteinerX@gmail.com said:
>>>>
>>>> On Feb 28, 2010, at 9:28 AM, Someone Something wrote:
>>>>
>>>>> Is there something like cpan for python? I like python's syntax, but
>>>>> Iuse perl because of cpan and the tremendous modules that it has. --
>>>>
>>>> Please search the mailing list archives.
>>>>
>>>> This subject has been discussed to absolute death.
>>>
>>> But somehow the question is not in the FAQ, though the answer is. See:
>>>
>>> <http://www.python.org/doc/faq/library/#how-do-i-find-a-module-or-application-to-perform-...


There
>>>
>> is also a program called cpan, distributed with Perl. It is used for
>> searching, downloading, installing and testing modules from the CPAN
>> repository. It's far more extensive than setuptools. AFAIK the python
>> community has developed nothing like it.
>
> python have easy_install

easy_install is part of setuptools. As I said, nothing like cpan.

-Tom

jmg3000

3/3/2010 3:10:00 PM

0

On Mar 2, 11:58 pm, John Bokma <j...@castleamber.com> wrote:
> Lie Ryan <lie.1...@gmail.com> writes:
> > On 03/03/2010 09:47 AM, TomF wrote:
>
> [..]
>
> >> There
> >> is also a program called cpan, distributed with Perl.  It is used for
> >> searching, downloading, installing and testing modules from the CPAN
> >> repository.  It's far more extensive than setuptools.  AFAIK the python
> >> community has developed nothing like it.
>
> > python have easy_install
>
> How easy is it to /remove/ something? ;-) (Last time I checked I read
> something like "manually remove the .egg"...
>

Have a look at [pip](http://cheeseshop.python.or...). It should
support uninstalling packages.

---John

John Bokma

3/3/2010 6:05:00 PM

0

John Gabriele <jmg3000@gmail.com> writes:

> On Mar 2, 11:58 pm, John Bokma <j...@castleamber.com> wrote:
>> Lie Ryan <lie.1...@gmail.com> writes:
>> > On 03/03/2010 09:47 AM, TomF wrote:
>>
>> [..]
>>
>> >> There
>> >> is also a program called cpan, distributed with Perl.  It is used for
>> >> searching, downloading, installing and testing modules from the CPAN
>> >> repository.  It's far more extensive than setuptools.  AFAIK the python
>> >> community has developed nothing like it.
>>
>> > python have easy_install
>>
>> How easy is it to /remove/ something? ;-) (Last time I checked I read
>> something like "manually remove the .egg"...
>>
>
> Have a look at [pip](http://cheeseshop.python.or...). It should
> support uninstalling packages.

Thanks John. However:

"Known exceptions include pure-distutils packages installed with
python setup.py install"

I want to remove something that I installed that way (because it's
installation procedure seems to be broken; opensocial) I understand that
this can't be blamed on pip, but it's odd that in this century it's
still hard to install/uninstall modules :-(

--
John Bokma j3b

Hacking & Hiking in Mexico - http://john...
http://castle... - Perl & Python Development

mk

3/3/2010 7:46:00 PM

0

John Bokma wrote:
> I want to remove something that I installed that way (because it's
> installation procedure seems to be broken; opensocial) I understand that
> this can't be blamed on pip, but it's odd that in this century it's
> still hard to install/uninstall modules :-(

Have you looked in a file easy-install.pth in site-packages? In my
experience it's enough to delete the line for package from there and
delete package's egg or directory.

I agree that this is kind of backward, though.

Regards,
mk

Ben Finney

3/3/2010 10:32:00 PM

0

John Bokma <john@castleamber.com> writes:

> I want to remove something that I installed [with its Distutils build
> system] (because it's installation procedure seems to be broken;
> opensocial) I understand that this can't be blamed on pip, but it's
> odd that in this century it's still hard to install/uninstall modules
> :-(

That's because of the last-century legacy of Distutils's design.

--
\ â??Imagine a world without hypothetical situations.â? â??anonymous |
`\ |
_o__) |
Ben Finney