Compile cpython dependencies statically

Contributes to CURA-9365
This commit is contained in:
j.spijker@ultimaker.com 2022-06-23 12:58:09 +02:00 committed by Jelle Spijker
parent f58389d599
commit 30135072de
2 changed files with 10 additions and 1 deletions

View File

@ -240,6 +240,7 @@
- "mpdecimal/2.5.0"
- "tcl/8.6.10"
- "tk/8.6.10"
- "zlib/1.2.12"
runinfo:
entrypoint: "cura_app.py"
pyinstaller:

View File

@ -85,8 +85,16 @@ class CuraConan(ConanFile):
def configure(self):
self.options["*"].shared = True
self.options["bzip2"].shared = False
self.options["expat"].shared = False
self.options["openssl"].shared = False
self.options["sqlite3"].shared = False
self.options["tcl"].shared = False
self.options["tk"].shared = False
self.options["xz_utils"].shared = False
self.options["zlib"].shared = False
if self.settings.os == "Windows":
# Needed to compile CPython on Windows with our configuration voor Visual Studio
# Needed to compile CPython on Windows with our configuration for Visual Studio
self.options["mpdecimal"].cxx = True
self.options["mpdecimal"].shared = False
self.options["libffi"].shared = False