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

Prefer pyproject.toml over requirements.txt #125

Open
2 tasks
unflxw opened this issue Sep 5, 2023 · 0 comments
Open
2 tasks

Prefer pyproject.toml over requirements.txt #125

unflxw opened this issue Sep 5, 2023 · 0 comments

Comments

@unflxw
Copy link
Contributor

unflxw commented Sep 5, 2023

It seems that most Python projects have migrated to using pyproject.toml. If a pyproject.toml file exists, our installer should probably write the dependencies to that file, instead of to requirements.txt.

(In the absence of either of the files, creating a requirements.txt is fine, as creating a pyproject.toml is a whole thing)

  • Installer supports pyproject.toml and uses it when it exists
  • Docs mention pyproject.toml alongside requirements.txt for manual installation
@unflxw unflxw self-assigned this Sep 5, 2023
@unflxw unflxw changed the title Installer should prefer pyproject.toml over requirements.txt Prefer pyproject.toml over requirements.txt Sep 5, 2023
@unflxw unflxw removed their assignment Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant