Add Python Paths Setting to Preferences

RoboFont Forums Enhancements Add Python Paths Setting to Preferences

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  frederik 8 years, 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4108

    charlesmchen
    Participant

    1. Add preferences for N paths to add to the PYTHONPATH, ie. sys.path.
    2. Ensure that changes to modules in these paths are recompiled without restarting Robofont.

    #4111

    frederik
    Keymaster

    He

    you can add a start up script that will add some root folders to the sys.path

    import sys
    sys.path.append("my/path/to/my/module")
    

    this module will then be available inside RoboFont

    to update the a module without restarting:

    import myModule
    reload(myModule)
    

    good luck

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.