Minor fixes

This commit is contained in:
Elizaveta Shashkova
2017-01-31 20:51:52 +03:00
parent 73e412013b
commit 32ed0f3869
2 changed files with 4 additions and 3 deletions
+1
View File
@@ -5,6 +5,7 @@ plugins {
}
envs {
project.buildDir = new File(System.getenv().getOrDefault("PYCHARM_BUILD_DIR", buildDir))
bootstrapDirectory = new File(buildDir, '.miniconda')
envsDirectory = new File(buildDir, 'MinicondaEnvs')
minicondaVersion = 'latest'
+3 -3
View File
@@ -21,13 +21,13 @@ def process_args():
force_cython = False
for i, arg in enumerate(sys.argv[:]):
if arg.startswith('--target-pyd-name='):
del sys.argv[i]
sys.argv.remove(arg)
target_pydevd_name = arg[len('--target-pyd-name='):]
if arg.startswith('--target-pyd-frame-eval='):
del sys.argv[i]
sys.argv.remove(arg)
target_frame_eval = arg[len('--target-pyd-frame-eval='):]
if arg == '--force-cython':
del sys.argv[i]
sys.argv.remove(arg)
force_cython = True
return target_pydevd_name, target_frame_eval, force_cython