Skip to content

Commit de18dbf

Browse files
author
Roberto De Ioris
authored
Update README.md
1 parent 1df9dfe commit de18dbf

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,30 @@ If you want to map events from a blueprint to a python function, the best thing
629629

630630
![Alt text](screenshots/unreal_screenshot3.png?raw=true "Screenshot 3")
631631

632+
Plugin Configuration
633+
--------------------
634+
635+
You can tune your python environment adding a [Python] stanza to the Config/DefaultEngine.ini file.
636+
637+
The following parameters are supported:
632638

639+
* Home: set the path of the python installation, useful for forcing the python vm to search modules in a specific directory (like old-style virtualenvs)
640+
* RelativeHome: like Home but relative to the /Content directory
641+
* ProgramName: set the python program name path
642+
* RelativeProgramName: like ProgramName, but the path is relative to the /Content directory
643+
* ScriptsPath: change the default path on where Unreal Engine searches for python scripts
644+
* RelativeScriptsPath: like ScriptsPath, but relative to the /Content directory
645+
* AdditionalModulesPath: add the specified directory to sys.path
646+
* RelativeAdditionalModulesPath: like AdditionalModulesPath, but the path is relative to the /Content directory
647+
* ZipPath: allow to specify a .zip file that is added to sys.path
648+
* RelativeZipPath: like ZipPath, but the path is relative to the /Content directory
649+
650+
Example:
651+
652+
```ini
653+
[Python]
654+
Home = C:/FooBar/Python36
655+
```
633656

634657
Packaging
635658
---------

0 commit comments

Comments
 (0)