Replies: 6 comments
-
Poetry can export a requirements.txt but as far as I know it can't import one. If it were me I'd just call poetry add ... for each of the requirements by hand, or if there were a lot, script it. You only need to do it once. |
Beta Was this translation helpful? Give feedback.
-
It's highly unlikely to be added. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hey I lost this issue, but here it is again! dephell might do the job (https://dephell.org/). |
Beta Was this translation helpful? Give feedback.
-
After going through #663 and #2135, and realizing this is the only issue that is open, I think poetry should atleast provide some direction for new users when they are converting from other formats. Let's just say Not providing any information on this would stray away a lot of new users. It could be as simple as redirecting to https://dephell.readthedocs.io/cmd-deps-convert.html in the documentation. This needs to happen in the least. Maintainers of poetry, please provide some insight on this. |
Beta Was this translation helpful? Give feedback.
-
Dephell is archived, unfortunately. I'll admit I got a little impatient, so I created this Python tool to do just this (called stanza...get it?). Parses requirements.txt files and automatically names and versions your project. It even allows for referenced requirements "e.g. https://github.com/src-r-r/python-stanza I created it in a rush (but still tested it), so contributions welcome! |
Beta Was this translation helpful? Give feedback.
-
i am trying to use Cookiecutter with django template by pydanny. Im using poetry to manage my python project and i don't know how to do it.
Normally using pip and a virtual environment, all required packages are installed with:
pip install -r requirements/local.txt
But in poetry i can't install dependencies from '.txt' file. What do I have to do?
Beta Was this translation helpful? Give feedback.
All reactions