japj / ryppi

python version of http://github.com/isaacs/ryp
37 stars 7 forks source link

2 fixes #4

Closed hdf closed 13 years ago

hdf commented 13 years ago

Fixed the python 3 urlopen problem. registry.npmjs.org is actually a CouchDB REST interface. As such its http headers are a bit different, than expected by urlopen, but FancyURLopener().open has no problem dealing with it.

Added batch install capability. So for me a standard new install looks like this: python ryppi.py install express socket.io mongolian underscore

Also, I ask, is an ls and rm option really that necessary? One just looks in the node_modules directory, and there is ls for you, and deletes a dir from there, and thats rm. I see no point in writing options and functions for this.

japj commented 13 years ago

@hdf ls and rm are indeed not really needed, we can remove that from the todo list