Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

create requirements file from project add them to poetry dependency

# from same dir where the python file is located
python3 -m pipreqs.pipreqs --savepath=requirements.in

python3 -m piptools compile requirements.in

poetry init

#use this , this will read the package names and not the comments
poetry add $( cat requirements.txt| grep -v '#')

#or this
cat requirements.txt|grep -v '#'|xargs poetry add
Comment

PREVIOUS NEXT
Code Example
Shell :: linux execute sh 
Shell :: how to leave a directory on terminal 
Shell :: docker proxy ubuntu 
Shell :: zip folder ssh 
Shell :: steps to sync branch to fork master? 
Shell :: how to delete an issue on github 
Shell :: fstab sshfs 
Shell :: ssh rsa key login 
Shell :: Adding more changes to your last commit 
Shell :: launch sublime from terminal 
Shell :: conda install minio 
Shell :: write a script to shutdown at a time in linux 
Shell :: macos terminal delete file 
Shell :: display hidden files in linux 
Shell :: bash script to get all git branches from remote 
Shell :: uninstall awesome window manager ubuntu 
Shell :: sngrep printed lines correctly 
Shell :: kubectl jq json pod name 
Shell :: deno bundler 
Shell :: how to create matrix in git bash 
Shell :: mjml watch command 
Shell :: recursively replace : to _ in file names linux 
Shell :: edit git commit 
Shell :: powershell netzlaufwerk verbinden 
Shell :: create eth1 interface in ubuntu without any physical interface 
Shell :: cent os install docker 
Shell :: bash read password 
Shell :: install ws-redis 
Shell :: linux quick format usb drive 
Shell :: Install SWAY on debin ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
8+2 =