Google 网上论坛不再支持新的 Usenet 帖子或订阅项。历史内容仍可供查看。

Re: cpan for python?

已查看 23 次
跳至第一个未读帖子

sste...@gmail.com

未读,
2010年2月28日 09:31:562010/2/28
收件人 Someone Something、pytho...@python.org

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

Daniel Fetchinson

未读,
2010年2月28日 11:27:222010/2/28
收件人 Python
> 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.

It's called PyPI or Cheese Shop:

http://pypi.python.org/pypi

<OFF>
Is it only me or others also mentally read C-SPAN when somebody writes CPAN?
</OFF>

Cheers,
Daniel


--
Psss, psss, put it down! - http://www.cafepress.com/putitdown

Steven D'Aprano

未读,
2010年2月28日 17:57:472010/2/28
收件人
On Sun, 28 Feb 2010 17:27:22 +0100, Daniel Fetchinson wrote:

> <OFF>
> Is it only me or others also mentally read C-SPAN when somebody writes
> CPAN? </OFF>

No, it's not just you. This is the first time I've realised it wasn't
C-SPAN.


--
Steven

R Fritz

未读,
2010年3月2日 16:14:502010/3/2
收件人
On 2010-02-28 06:31:56 -0800, sste...@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-task-x>

--


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

TomF

未读,
2010年3月2日 17:47:362010/3/2
收件人
On 2010-03-02 13:14:50 -0800, R Fritz <rfr...@u.washington.edu> said:

> On 2010-02-28 06:31:56 -0800, sste...@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-task-x>

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

未读,
2010年3月2日 22:59:012010/3/2
收件人

python have easy_install

John Bokma

未读,
2010年3月2日 23:58:472010/3/2
收件人
Lie Ryan <lie....@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://johnbokma.com/
http://castleamber.com/ - Perl & Python Development

Ben Finney

未读,
2010年3月3日 00:17:162010/3/3
收件人
Lie Ryan <lie....@gmail.com> writes:

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

未读,
2010年3月3日 03:23:162010/3/3
收件人

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

-Tom

John Gabriele

未读,
2010年3月3日 10:10:072010/3/3
收件人
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.org/pypi/pip). It should
support uninstalling packages.

---John

John Bokma

未读,
2010年3月3日 13:04:392010/3/3
收件人
John Gabriele <jmg...@gmail.com> writes:

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 :-(

mk

未读,
2010年3月3日 14:46:242010/3/3
收件人 pytho...@python.org
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

未读,
2010年3月3日 17:32:212010/3/3
收件人
John Bokma <jo...@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

0 个新帖子