Changed setup.py and the install script to include the dependency to PyYAML and toml packages.

Mon, 22 Feb 2021 19:15:06 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 22 Feb 2021 19:15:06 +0100
changeset 8128
8f012c58f27e
parent 8127
9534be896b85
child 8129
52c76e6cb35b

Changed setup.py and the install script to include the dependency to PyYAML and toml packages.

scripts/install.py file | annotate | diff | comparison | revisions
setup.py file | annotate | diff | comparison | revisions
--- a/scripts/install.py	Sun Feb 21 12:53:26 2021 +0100
+++ b/scripts/install.py	Mon Feb 22 19:15:06 2021 +0100
@@ -1536,7 +1536,12 @@
         # available (e.g. for 32-Bit Windows)
         (("PyQt5.QtWebEngineWidgets", ), sys.maxsize <= 2**32),
     ]
-    optionalModulesList = {}
+    optionalModulesList = {
+        # key is pip project name
+        # value is tuple of package name, pip install constraint
+        "PyYAML": ("yaml", ""),
+        "toml": ("toml", ""),
+    }
     # dict with tuples of package name and install constraint
     if sys.platform != "darwin" and not ignorePyqt5Tools:
         optionalModulesList["qt5-applications"] = ("qt5_applications",
--- a/setup.py	Sun Feb 21 12:53:26 2021 +0100
+++ b/setup.py	Mon Feb 22 19:15:06 2021 +0100
@@ -346,6 +346,8 @@
         "QScintilla>=2.11.1",
         "docutils",
         "Markdown",
+        "pyyaml",
+        "toml",
         "pywin32>=1.0;platform_system=='Windows'",
     ],
     data_files=getDataFiles(),

eric ide

mercurial