Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why doesn't the Python world just copy CPAN and update it for Python? You can e.g. literally find stuff in CPAN with hundreds of dependencies -- which is a pain, but even that works.

At least CPAN testers? Please...

If Python people insist that there is only one way to do it -- and the answer is Python, then rewrite CPAN in Python. Copy stuff that works...



"Only one way to do it" is a point of language design, not an assertion that Python is the one true way.

Python does have PyPI. Works fine. Use pip to install and uninstall packages. Use virtualenv to isolate dependencies/PYTHONPATH, as needed.

Can you be specific about what aspect of CPAN you think should be ported?


Specific? I already mentioned CPAN Testers. And that CPAN works... (I've seen people with years of Python experience that had problem doing simple things. Edit: Including uninstall of packages, which you mention.)

Edit: Here you see a result of CPAN Testers for a module with complex dependencies. Note statistics on where/how dependencies are run. Also click on a dependency icon to see the matrix of perl/os versions.

http://deps.cpantesters.org/?module=Catalyst;perl=latest


I don't have any problem doing uninstall of packages. Use pip rather than easy_install. You are done.

I'm not convinced that CPAN is better


Good for you, re uninstall...

(I really didn't expect Python users to admit that anything in any other environment could be better... :-) E.g. running tests at install by default is obviously bad? :-) )

So no comment about CPAN Testers -- automatically installing dependencies, running the test suites on different perl/os versions and then getting neat reports? What is the better way in Python?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: