Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Existing project, Poetry init, check and install requirements #983

Closed
ST33LDI9ITAL opened this issue Mar 22, 2019 · 6 comments
Closed

Existing project, Poetry init, check and install requirements #983

ST33LDI9ITAL opened this issue Mar 22, 2019 · 6 comments

Comments

@ST33LDI9ITAL
Copy link

  • [ x] I have searched the issues of this repo and believe that this is not a duplicate.
  • [x ] I have searched the documentation and believe that my question is not covered.

Feature Request

How about adding a check for existing requirements.txt to Poetry init so that if you init on an existing project it would auto install and add existing packages?

Basically integrate something like:
FOR /F "usebackq delims==" %i IN (cat requirements.txt) DO poetry add %i
for Windows, or
$ for item in $(cat requirements.txt); do poetry add "${item}"; done
for Bash

@pmav99
Copy link
Contributor

pmav99 commented Mar 22, 2019

Α requirements file can contain all sort of stuff that cannot be parsed by something as simple as what you propose: https://pip.pypa.io/en/stable/reference/pip_install/#requirements-file-format

For the record, there was a PR for importing a pipenv project but sdispater chose to reject it: #579

@floer32
Copy link

floer32 commented Mar 28, 2019

Another issue link: #663

@floer32
Copy link

floer32 commented Mar 28, 2019

This one should be closed in favor of the existing tickets

@stale
Copy link

stale bot commented Nov 13, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Nov 13, 2019
@stale
Copy link

stale bot commented Nov 20, 2019

Closing this issue automatically because it has not had any activity since it has been marked as stale. If you think it is still relevant and should be addressed, feel free to open a new one.

@stale stale bot closed this as completed Nov 20, 2019
Copy link

github-actions bot commented Mar 3, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants