Files
openide/python/tools/setup-envs/build.gradle
Semyon Proshev 6f250ab078 Remove python 3.6 from prebuilt binary stubs and bundled shared indexes (PY-50829)
GitOrigin-RevId: ea74019a9c3a4ebc1dabc91a3af4427e2f384760
2022-10-31 21:49:21 +00:00

39 lines
1.3 KiB
Groovy

/*
* Copyright 2000-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import org.apache.tools.ant.taskdefs.condition.Os
plugins {
id "com.jetbrains.python.envs" version "0.0.31"
}
envs {
bootstrapDirectory = new File(System.getenv().getOrDefault("PYCHARM_PYTHONS", new File(buildDir, 'pythons').path))
envsDirectory = new File(System.getenv().getOrDefault("PYCHARM_PYTHON_VIRTUAL_ENVS", new File(buildDir, 'envs').path))
if (System.getenv().containsKey("PYCHARM_ZIP_REPOSITORY")) {
zipRepository = new URL(System.getenv().get("PYCHARM_ZIP_REPOSITORY"))
shouldUseZipsFromRepository = Os.isFamily(Os.FAMILY_WINDOWS)
}
python "python37", "3.7.9"
python "python38", "3.8.10"
python "python39", "3.9.13"
python "python310", "3.10.8"
python "python311", "3.11.0"
}