I am wondering if there is a way to βinstallβ single-file python modules using pip (i.e. just ask pip to download the specified version of the file and copy it to the package site).
I have a Django project that uses several third-party modules that are not the correct distributions (django-thumbs and a couple more), and I want to pip freeze
everything so that the project can be easily installed elsewhere. I tried just doing
pip install git+https://github.com/path/to/file.git
(and also tried with the -e tag), but pip complains that there is no setup.py file.
Edit: I should have mentioned - the reason why I want to do this is to include the necessary module in the requirements.txt file in order to simplify the project setup on a new computer or new virtual server.
danny
source share