Closed
Description
Say I have two files.
file1.coco
:
import file2
file2.func()
file2.coco
:
def func():
pass
Now if I want to run file1.coco, e.g. with coconut-run -l file1.coco
, the -l
option only applies to file1.coco
and I have no way of changing the compilation options for file2.coco
, is that right?
Specifically, what I'm seeking is a method to automatically redirect all compiled Python files to a designated subdirectory like __pycache__
. By doing so, it would help keep them organized and easy to remove or gitignore. That's similar to the rationale behind placing .pyc
files separately in __pycache__
rather than mixing them with the .py
files in a single directory.
Not sure if that's one issue, or two related ones.
PS. Thanks for your great work. Coconut is awesome!