Closed gebi closed 8 months ago
Thanks for the PR! I have not used poetry but did consider adding the equivalent for pipenv. The reason I didn't is that it adds yet another place to keep updated whenever there is a new version of some component. It's already scattered in several readmes and in the setup scripts: https://github.com/HEnquist/camilladsp-setupscripts
I haven't looked into what could be done smarter yet. Any ideas are most welcome.
I think I have come up with a good solution for this, templates! I converted all setup scripts etc to jinja templates, and keep the versions of libraries etc in a single file. Later I will add a an action that renders all the templates and publishes them. This means I can add poetry support without getting an additional script to update whenever there is a new release of some component. I used this PR as a base for the pyproject.toml template here: https://github.com/HEnquist/camilladsp-setupscripts/blob/jinja/templates/pyproject.toml.j2
awesome idea, thx :)!
I'm closing this PR then since I already implemented this in the setup scripts :)
makes it possible to start camillagui-backend with just
poetry run python main.py
before just run
poetry update
because install cmds from
README.md
do not work anymore (debian sid)