Replies: 2 comments 10 replies
-
I would like to remove %localappdata%\Programs\PyRx and put the entire package into ..\site-packages\pyrx One option is you use CAD profiles for VENV? Does ZwCAD have Command Line Switch? Maybe a “global” loader could be another project? |
Beta Was this translation helpful? Give feedback.
-
Ok, I’ll start by making the loader work from anywhere, I.e. ..\site-packages\pyrx, %localappdata%\Programs\PyRx, or in an AutoCAD bundle |
Beta Was this translation helpful? Give feedback.
-
Based on issue #145
So we assume that the loader (e.g. RxLoader25.0.arx) and the main module (e.g. PyRx25.0.arx) will be in python packages (...\site-packages\pyrx...) and based on the current environment (whether global or venv) the appropriate main module will be loaded. In my opinion the loader should not be tightly linked to the main module. I assume that the loader can be permanently added to the CAD start list and based on the python environment context the appropriate main module will be loaded. I think that after installing
pyrx
viapip
there should be a commandpython -m pyrx install-global
which will copy the loader to%localappdata%\Programs\PyRx
and this loader will be permanently linked to the CAD start list.Beta Was this translation helpful? Give feedback.
All reactions