On my project located in a folder named example
contains all the .py files of the project. Also my project uses some packages provided via pip, but when I need to upload to the common git repo for my coleagues in order to use it I need somwhow to "index" or to "list" the required packages that I installed via pip in order to download them.
In other words I am looking a similar functionality with node's npm
or php's composer where there is the ability to save all the references for my dependencies so my coleagues to download them via either npm install
or composer install
. So I am asking how can I achieve similar functionality with pip?
Edit 1:
I only have installed some pip packages how I will get the one I import
into my source code?
I mean on my project's spurce i habe entries like:
import ^package_name^
from ^package_name^ import ^some_function_or_class^
How I will locate the pip packages I install by looking the import entries?