Open spurioso opened 10 years ago
For step 2, once we lookup metadata from LC (or other APIs), we will likely have to deal with it as XML. For that, the lxml python module (http://lxml.de) will be very useful. To install lxml on a Mac (I don't know about Windows), I found this command from the installation documentation (http://lxml.de/installation.html) to be essential:
STATIC_DEPS=true sudo pip install lxml
If folks are going to begin tangling with packages that have more oddities about installing in different environments, it might be worthwhile to use virtualenvwrapper (http://virtualenvwrapper.readthedocs.org/en/latest/) or it may become difficult to debug problems creating by installations/environments/dependencies.
Thanks Trevor, good tip. I have used venv in the context of some work on a Django project and it definitely simplifies things. For all of this installation and configuration stuff, I have found this page to be the most useful instructions: http://docs.python-guide.org/en/latest/starting/install/osx/