Creating rhino commands using python for Rhino 7 on Mac

Hi

I recently created a python script and want to execute as a command, rather than opening and running the .py file. The Rhino developer guide seems to be out of date as Rhino 7 doesn’t have the directory stated in the instructions : /Users/~/Library/Application Support/McNeel/Rhinoceros/6.0/Plug-ins/PythonPlugIns/

Has anyone solved this problem, i’ve tried to recreate this folder structure but it doesn’t work

Many thanks

On Windows, there’s a setting in the Rhino Python editor that effectively lets you adjust PYTHONPATH. Set that to the scripts dir. Otherwise have a look which directories are in sys.path