For example, I am looking for a command line snippet to list all dependencies of a python module e.g. http://pypi.python.org/pypi/django-celery given the URL. Does one exist ?
I would use a combination of virtualenv and pip to do the job. The snippet would look sth like this:
virtualenv <path_to_a_new_env> --no-site-packages
<using this virtual env> && pip install <url or package name>
<using this virtual env> && pip freeze
---
<using this virtualenv> - source bin/activate on Linux scipts/activate.bat on linux
The problem is that you this would only list dependencies, but not versions if any specific are required.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With