diff --git a/.idea/libraries/apache_tuweni_toml.xml b/.idea/libraries/apache_tuweni_toml.xml
deleted file mode 100644
index 201cc6cd7b24..000000000000
--- a/.idea/libraries/apache_tuweni_toml.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/platform/build-scripts/groovy/org/jetbrains/intellij/build/CommunityLibraryLicenses.groovy b/platform/build-scripts/groovy/org/jetbrains/intellij/build/CommunityLibraryLicenses.groovy
index 40ed397faa64..e52fabde60b4 100644
--- a/platform/build-scripts/groovy/org/jetbrains/intellij/build/CommunityLibraryLicenses.groovy
+++ b/platform/build-scripts/groovy/org/jetbrains/intellij/build/CommunityLibraryLicenses.groovy
@@ -206,6 +206,8 @@ final class CommunityLibraryLicenses {
"lucene-analyzers-common",
"org.apache.lucene:lucene-core:2.4.1"
]).apache(),
+ new LibraryLicense(name: "Apache Tuweni-Toml", libraryName: "tuweni-toml",
+ url: "https://github.com/apache/incubator-tuweni/tree/main/toml").apache(),
new LibraryLicense(name: "ASM (JetBrains's fork)", libraryName: "ASM",
url: "https://github.com/JetBrains/intellij-deps-asm",
licenseUrl: "https://github.com/JetBrains/intellij-deps-asm/blob/master/LICENSE.txt",
diff --git a/platform/build-scripts/groovy/org/jetbrains/intellij/build/python/PythonCommunityPluginModules.groovy b/platform/build-scripts/groovy/org/jetbrains/intellij/build/python/PythonCommunityPluginModules.groovy
index 32f51f18dc10..45d8b187353b 100644
--- a/platform/build-scripts/groovy/org/jetbrains/intellij/build/python/PythonCommunityPluginModules.groovy
+++ b/platform/build-scripts/groovy/org/jetbrains/intellij/build/python/PythonCommunityPluginModules.groovy
@@ -47,6 +47,7 @@ class PythonCommunityPluginModules {
withModule(mainModuleName, mainJarName)
withGeneratedResources(new HelpersGenerator(), "helpers")
withProjectLibrary("libthrift") // Required for "Python Console" in intellij.python.community.impl module
+ withModuleLibrary("tuweni-toml", "intellij.python.psi.impl", "")
body.delegate = delegate
body()
}
diff --git a/python/intellij.python.community.impl.iml b/python/intellij.python.community.impl.iml
index 968b39fca41a..6a660eb8bac2 100644
--- a/python/intellij.python.community.impl.iml
+++ b/python/intellij.python.community.impl.iml
@@ -79,8 +79,33 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file