Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Feature Requests

Reply
 
Thread Tools Display Modes
Old 09-26-2012, 02:01 PM   #1
fingers
Human being with feelings
 
fingers's Avatar
 
Join Date: Dec 2009
Location: Wellington, NZ
Posts: 300
Default Add UserPlugins and Scripts directories to reascript sys.path

This is my sys.path on OSX when running a script in REAPER:

['/Users/fingers', '/usr/lib/python2.6', '/usr/lib/python2.6/plat-darwin', '/usr/lib/python2.6/plat-mac', '/usr/lib/python2.6/plat-mac/lib-scriptpackages', '/usr/Extras/lib/python', '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/Library/Python/2.6/site-packages', '/Applications/REAPER.app/Contents/Plugins']

Could ~/Library/Application\ Support/REAPER/Scripts and ~/Library/Application\ Support/REAPER/UserPlugins be added to the sys.path in reascript?

This way people can write their own modules in Scripts and the SWS reascript module can sit in UserPlugins.

(Reaper 4.27pre)
fingers is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 06:31 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.