Last active
September 22, 2015 13:44
-
-
Save kohakurei/781af87823456d2b0cb5 to your computer and use it in GitHub Desktop.
QGISのPython環境でPyCharmを起動するバッチ
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
@echo off | |
SET OSGEO4W_ROOT=C:\OSGeo4W64 | |
CALL %OSGEO4W_ROOT%\bin\o4w_env.bat | |
@echo off | |
path %PATH%;%OSGEO4W_ROOT%\apps\qgis\bin | |
set PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%\apps\qgis\python; | |
set PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%\apps\Python27\Lib\site-packages | |
set QGIS_PREFIX_PATH=%OSGEO4W_ROOT%\apps\qgis | |
SET PYCHARM="C:\Program Files (x86)\JetBrains\PyCharm Community Edition 4.0.4\bin\pycharm.exe" | |
start "PyCharm aware of QGIS" /B %PYCHARM% %* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment