-
-
Notifications
You must be signed in to change notification settings - Fork 425
How to test local cli.py changes without full compilation? #7176
Copy link
Copy link
Open
Description
Hi everyone,
I'm working on the --link-raster task and I've modified the cli.py file. I'm trying to test it locally on my Mac, but I'm stuck with a path issue:
If I run GRASS normally, it uses the system installation and doesn't see my new code.
If I use PYTHONPATH to point to my local folder, I get this error:
FileNotFoundError: /usr/local/grass85/etc/@GISBASE_INSTALL_PATH@/etc/clean_temp
I understand this is because my local source is not compiled and has these "placeholder" paths.
Since I'm only changing the Python code in cli.py, is there a simple way to test this without compiling the whole GRASS project from source? Or should I just open a Draft PR and use the CI/CD tests to see if it works?
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels