PyMine-Server
PyMine-Server copied to clipboard
Add support for poetry in the startserver scripts
- We use poetry to manage dependencies cleanly, and the startserver scripts should have support for it!
how is it not supported?
Like when attempting to run the server, add options like poetry run py pymine
and poetry run python3 pymine
it assumes that whatever virtual enviroment thing is already activated (by default).
normally, with venv or whatevery you would source the activate file, but poetry by the loogs of it uses poetry shell
?
i think this is out of scope of a shell script, but maybe a seperate tool could be created to assist with server creation, and lifetime (start,stop,restart), and possibly a "form" style thing for configuration.
If you are looking for a tool that will allow you to create predefined commands for poetry. Have a look at Taskipy
It allows you to specify these commands under aliases and then execute them.
I may have misunderstood your question tho.