First time here? Check out the FAQ!

rmorison's profile - activity

2021-10-10 12:31:30 -0500 received badge Notable Question (source)
2021-10-10 12:31:30 -0500 received badge Famous Question (source)
2021-10-10 12:31:30 -0500 received badge Popular Question (source)
2020-05-29 16:38:08 -0500 marked best answer Debug/Execute a poetry packaged project

I'm trying to debug a https://python-poetry.org/ managed project (https://github.com/djrobstep/migra) with a script command like...

[tool.poetry.scripts]
migra = 'migra:do_command'

I wrote my own run.py like

from migra import do_command

do_command()

and that worked, but seemed a little clunky, to have to add my own code to debug with wing. Is there a better way?

2020-05-29 11:23:25 -0500 commented answer Debug/Execute a poetry packaged project

If -m supported -m module:function, yeah would be great. Afaik, there's no python command line arg to set the entrypoint

2020-05-28 22:19:29 -0500 received badge Student (source)
2020-05-28 22:18:44 -0500 asked a question Debug/Execute a poetry packaged project

Debug/Execute a poetry packaged project I'm trying to debug a https://python-poetry.org/ managed project (https://github