exigences de poésie
# 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
sivakguru