Created
September 12, 2017 17:38
-
-
Save davidlatwe/4be0c50fff044dab787e4aaf6b70accf to your computer and use it in GitHub Desktop.
avalon__kick__
This file contains hidden or 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 change to parent dir | |
SET INIT=%~dp0 | |
CD /D %INIT%.. | |
REM build python 3.6 virtualenv | |
virtualenv avalon_env -p "C:\Python36_64\python.exe" | |
REM copy python3.dll for PYQT5 | |
copy %INIT%python3.dll avalon_env\Scripts\ | |
REM copy set_avalon_env.bat for quick env-var setup | |
copy %INIT%set_avalon_env.bat avalon_env\ | |
REM git clone avalon | |
CD avalon_env | |
git clone https://github.com/getavalon/setup avalon-setup --recursive | |
REM install PYQT5 into virtualenv | |
CD Scripts | |
activate & pip install pyqt5 | |
pause |
This file contains hidden or 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 PATH | |
set PATH=%cd%\avalon-setup;%PATH% | |
set PATH=%cd%\avalon-setup\bin;%PATH% | |
set PATH=%cd%\avalon-setup\bin\windows;%PATH% | |
REM PYTHONPATH | |
set PYTHONPATH=%cd%\avalon-setup\bin\pythonpath;%PYTHONPATH% | |
set PYTHONPATH=%cd%\avalon-setup\git\mindbender-config;%PYTHONPATH% | |
set PYTHONPATH=%cd%\avalon-setup\git\avalon-launcher;%PYTHONPATH% | |
set PYTHONPATH=%cd%\avalon-setup\git\avalon-core;%PYTHONPATH% | |
REM PYBLISH | |
set PYBLISH_BASE=%cd%\avalon-setup\git\pyblish-base | |
set PYBLISH_QML=%cd%\avalon-setup\git\pyblish-qml | |
REM AVALON | |
set AVALON_CORE=%cd%\avalon-setup\git\avalon-core | |
set AVALON_LAUNCHER=%cd%\avalon-setup\git\avalon-launcher | |
set AVALON_EXAMPLES=%cd%\avalon-setup\git\avalon-examples | |
set AVALON_DEBUG= | |
REM DATABASE - NEED EDIT HERE | |
set AVALON_MONGO=mongodb://arthur:[email protected]:27017/avalon | |
set AVALON_DB=avalon | |
REM CONFIG | |
set AVALON_CONFIG=polly | |
set AVALON_PROJECTS=%cd%\avalon-setup\git\avalon-examples\projects |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment