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

CLI Tool to Convert pyproject.toml dependencies to requirements.txt of environment.yml #10

Open
RNKuhns opened this issue May 20, 2022 · 0 comments

Comments

@RNKuhns
Copy link
Owner

RNKuhns commented May 20, 2022

In the github action workflows it is easiest to install all the required dependencies using requirements.txt or environment.yml file. However, it is not desirable to maintain these files separately from pyproject.toml.

A Python script (using toml or tomli) that reads pyproject.toml and outputs either requirements.txt or environment.yml would be useful. Ideally it would have a CLI interface and could be made into a pre-commit hook (think everytime pyproject.toml changes, this runs and generates the updated files).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant