mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 11:53:49 +07:00
PyCharm: update python versions for Stubs
GitOrigin-RevId: c08cd59cb72a479c65f29505370922f5c7da4370
This commit is contained in:
committed by
intellij-monorepo-bot
parent
aa3c4138ae
commit
454ce813b6
@@ -1,7 +1,7 @@
|
||||
import org.apache.tools.ant.taskdefs.condition.Os
|
||||
|
||||
plugins {
|
||||
id "com.jetbrains.python.envs" version "0.0.25"
|
||||
id "com.jetbrains.python.envs" version "0.0.30"
|
||||
}
|
||||
|
||||
ext {
|
||||
@@ -9,6 +9,12 @@ ext {
|
||||
}
|
||||
|
||||
envs {
|
||||
String python27version = "2.7.16"
|
||||
String python35version = "3.5.7"
|
||||
String python36version = "3.6.8"
|
||||
String python37version = "3.7.6"
|
||||
String python38version = "3.8.1"
|
||||
|
||||
def customBuildDir = System.getenv().get("PYCHARM_BUILD_DIR")
|
||||
project.buildDir = customBuildDir? new File(customBuildDir): buildDir
|
||||
bootstrapDirectory = new File(buildDir, 'pythons')
|
||||
@@ -17,35 +23,35 @@ envs {
|
||||
zipRepository = new URL("https://repo.labs.intellij.net/pycharm/python-archives-windows/")
|
||||
shouldUseZipsFromRepository = Os.isFamily(Os.FAMILY_WINDOWS)
|
||||
|
||||
python "python27_64", "2.7.16", "64"
|
||||
python "python27_64", python27version, "64"
|
||||
virtualenv "py27_64", "python27_64", ["cython"]
|
||||
|
||||
python "python35_64", "3.5.7", "64"
|
||||
python "python35_64", python35version, "64"
|
||||
virtualenv "py35_64", "python35_64", ["cython"]
|
||||
|
||||
python "python36_64", "3.6.8", "64"
|
||||
python "python36_64", python36version, "64"
|
||||
virtualenv "py36_64", "python36_64", ["cython"]
|
||||
|
||||
python "python37_64", "3.7.4", "64"
|
||||
python "python37_64", python37version, "64"
|
||||
virtualenv "py37_64", "python37_64", ["cython"]
|
||||
|
||||
python "python38_64", "3.8.0", "64"
|
||||
python "python38_64", python38version, "64"
|
||||
virtualenv "py38_64", "python38_64", ["cython"]
|
||||
|
||||
if (Os.isFamily(Os.FAMILY_WINDOWS)) {
|
||||
python "python27_32", "2.7.16", "32"
|
||||
python "python27_32", python27version, "32"
|
||||
virtualenv "py27_32", "python27_32", ["cython"]
|
||||
|
||||
python "python35_32", "3.5.7", "32"
|
||||
python "python35_32", python35version, "32"
|
||||
virtualenv "py35_32", "python35_32", ["cython"]
|
||||
|
||||
python "python36_32", "3.6.8", "32"
|
||||
python "python36_32", python36version, "32"
|
||||
virtualenv "py36_32", "python36_32", ["cython"]
|
||||
|
||||
python "python37_32", "3.7.4", "32"
|
||||
python "python37_32", python37version, "32"
|
||||
virtualenv "py37_32", "python37_32", ["cython"]
|
||||
|
||||
python "python38_32", "3.8.0", "32"
|
||||
python "python38_32", python38version, "32"
|
||||
virtualenv "py38_32", "python38_32", ["cython"]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -32,8 +32,8 @@ envs {
|
||||
|
||||
testHelpers("py27_64", "2.7.16")
|
||||
testHelpers("py36_64", "3.6.8")
|
||||
testHelpers("py37_64", "3.7.5")
|
||||
testHelpers("py38_64", "3.8.0")
|
||||
testHelpers("py37_64", "3.7.6")
|
||||
testHelpers("py38_64", "3.8.1")
|
||||
}
|
||||
|
||||
task ("all_tests") {
|
||||
|
||||
@@ -32,8 +32,8 @@ plugins {
|
||||
envs {
|
||||
String python27version = "2.7.16"
|
||||
String python36version = "3.6.8"
|
||||
String python37version = "3.7.5"
|
||||
String python38version = "3.8.0"
|
||||
String python37version = "3.7.6"
|
||||
String python38version = "3.8.1"
|
||||
|
||||
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))
|
||||
|
||||
@@ -32,8 +32,8 @@ envs {
|
||||
|
||||
python "python27", "2.7.16"
|
||||
python "python36", "3.6.8"
|
||||
python "python37", "3.7.5"
|
||||
python "python38", "3.8.0"
|
||||
python "python37", "3.7.6"
|
||||
python "python38", "3.8.1"
|
||||
|
||||
if (System.getenv("PYCHARM_BOOTSTRAP_ANACONDA") == "true") {
|
||||
conda "Anaconda2", "Anaconda2-2018.12", "64", []
|
||||
|
||||
Reference in New Issue
Block a user