Skip to content

Instantly share code, notes, and snippets.

@NathanW2
Last active September 4, 2018 23:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NathanW2/f4dd3db11e19337dedf7b393270c10db to your computer and use it in GitHub Desktop.
Save NathanW2/f4dd3db11e19337dedf7b393270c10db to your computer and use it in GitHub Desktop.
SET OSGEO4W_ROOT=C:\Program Files\QGIS 3.2
SET QGISNAME=qgis
SET QGIS=%OSGEO4W_ROOT%\apps\%QGISNAME%
set QGIS_PREFIX_PATH=%QGIS%
CALL "%OSGEO4W_ROOT%\bin\qt5_env.bat"
CALL "%OSGEO4W_ROOT%\bin\py3_env.bat"
set PATH=%OSGEO4W_ROOT%\bin;%QGIS%\bin;C:\Program Files (x86)\Git\bin;%PATH%;
set PYTHONPATH=%PYTHONPATH%;%QGIS%\python
SET PYCHARM="C:\Program Files\JetBrains\PyCharm Community Edition 2017.2.3\bin\pycharm64.exe"
start "PyCharm aware of QGIS" /B %PYCHARM% %*
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment