Created
September 28, 2021 18:52
-
-
Save voice1/57b05f73e405a05bbc43d75b10771c97 to your computer and use it in GitHub Desktop.
Import pip requirements.txt to poetry
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat requirements.txt | perl -pe 's/([<=>]+)/:$1/' | xargs -t -n 1 -I {} poetry add '{}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment