This repository was archived by the owner on Jun 9, 2020. It is now read-only.
This repository was archived by the owner on Jun 9, 2020. It is now read-only.
Make module profiling easier #8
Open
Description
I want to run kernprof from the root of my package source like kernprof -l mylib\test\test.py -v
but then any import within test.py
fails, e.g. import mylib.foo
because the current working dir is not added to the python path when running kernprof, which in my opinion should happen by default. The workaround is to temporarily hack sys.path
within this specific module, but that's annoying.
Metadata
Metadata
Assignees
Labels
No labels