How to state in requirements.txt a direct github source
I’ve installed a library using the command
I’ve installed a library using the command
Sometimes I download the python source code from github
and don’t know how to install all the dependencies. If there is no requirements.txt
file I have to create it by hands.
The question is:
Given the python source code directory is it possible to create requirements.txt
automatically from the import section?
I am working on developing a python package. I use pip freeze > requirements.txt
to add the required package into the requirement.txt file. However, I realized that some of the packages, instead of the package version, have some path in front of them.
Without going through with the installation, I want to quickly see all the packages that pip install
would install.
I have a requirements.txt
file that I’m using with Travis-CI. It seems silly to duplicate the requirements in both requirements.txt
and setup.py
, so I was hoping to pass a file handle to the install_requires
kwarg in setuptools.setup
.
I’m installing several Python packages in Ubuntu 12.04 using the following requirements.txt
file:
I’m working with fabric(0.9.4)+pip(0.8.2) and I need to install some python modules for multiple servers. All servers have old version of setuptools (0.6c8) which needs to be upgraded for pymongo module. Pymongo requires setuptools>=0.6c9.