Last active
September 18, 2019 21:08
-
-
Save AlansCodeLog/bbc68ccda7aa569ccc02e454e8fb1f85 to your computer and use it in GitHub Desktop.
Blender as a Python Module Install Script #blender #builds
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM To use: Copy to build folder. Run "install YOURPYTHONPATH PYTHONVERSION BLENDERVERSION" e.g. "install C:\Python36 36 2.79" | |
REM No backslash after path. | |
set pypath=%1 | |
set pyversion=%2 | |
set version=%3 | |
copy bin\Release\bpy.pyd %pypath%\Lib\site-packages\ | |
copy bin\Release\*.dll %pypath%\Lib\site-packages\ | |
del %pypath%\Lib\site-packages\python%pyversion%.dll | |
xcopy /E bin\Release\%version% %pypath%\%version%\ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment