-
Notifications
You must be signed in to change notification settings - Fork 24
Sisyphus PyCharm Setup
Nick Rossenbach edited this page Jun 15, 2021
·
8 revisions
Some tweaks can be applied to use PyCharm more comfortably with Sisyphus setup folders.
Disable some folders from the indexing:
- Go to Settings -> Project <project_name> -> Project Structure
- Select (if existing, if not yet repeat later) "alias", "output", "work" and click on "Exclude"
Make "recipe" a source folder:
- On the project overview, right click on the "recipe" folder
- Select "Mark Directory as" -> "Source Folder"
Add a custom interpreter for correct Python package paths (if e.g. Sisyphus is not part of the env):
- Go to Settings -> Project <project_name> -> Project Interpreter
- Select top bar or gear symbol and click on "show all"
- Click on the plus and add the python interpreter (even if it already exists) that you want to use
- Click on the pen to rename the interpreter to e.g. <project_name>
- Add the
sisyphusfolder inside thesisyphusrepository to the path
Alternatively:
Right-click the directories such as recipe, sisyphus etc which should be root source directories to become root source directories.
Then PyCharm treats them as being in the paths (sys.path).