Replies: 1 comment
-
I guess I could have worded it better, it’s the default behavior of HostApplicationServices.FindFile. There’s an internal pyrx_onload.py that gets copied to the debug development folder for running unit tests |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Based on issue #145
It is not a good idea for the user to place anything in the package directory (
...\site-packages\pyrx
). Therefore, it should be assumed thatpyrx_onload.py
present in this directory will be added by thepyrx
developers. User files should be given priority, so CAD search paths should be searched first, and thepyrx
directory last.Additionally, you should consider whether if the
site-packages\pyrx\pyrx_onload.py
file exists, should the user file overwrite it. If such a file were to exist, it would probably do something important that should not be omitted. Any omission of loading the originalpyrx_onload.py
file should be explicitly defined (via an environment variable or something similar).Beta Was this translation helpful? Give feedback.
All reactions