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

Updated app.py #55

Merged
merged 4 commits into from
May 2, 2024
Merged

Updated app.py #55

merged 4 commits into from
May 2, 2024

Conversation

GauranshMathur
Copy link
Contributor

Added defined version to app.py

Added defined version to app.py
Makes the version dynamic by using poetry to get the version of patchwork using a subprocess function
@codelion
Copy link
Member

codelion commented May 2, 2024

@CTY-git do you know what is the best way to get the version for the CLI? If we read the pyproject.toml will it work when installed via pip

Changed the function to read the toml file and update the click version-
Made the change to add the package name and remove the read.
@codelion codelion merged commit afac526 into patched-codes:main May 2, 2024
@codelion codelion mentioned this pull request May 2, 2024
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

Successfully merging this pull request may close these issues.

2 participants