-
Notifications
You must be signed in to change notification settings - Fork 45
[windows] add Python 3.10.1 to the installer #447
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<Project Sdk="WixToolset.Sdk/4.0.5"> | ||
<PropertyGroup> | ||
<OutputName>python</OutputName> | ||
compnerd marked this conversation as resolved.
Show resolved
Hide resolved
|
||
</PropertyGroup> | ||
</Project> |
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,11 @@ | ||||||
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||||||
<?define VariantName = asserts ?> | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we need the |
||||||
<?define VariantUpgradeCode = $(PythonUpgradeCode)?> | ||||||
<?define VariantProductName = !(loc.EmbeddedPython_ProductName)?> | ||||||
<?define VariantCabinetName = python.asserts.cab?> | ||||||
compnerd marked this conversation as resolved.
Show resolved
Hide resolved
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Comment on lines
+3
to
+5
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think that we should be able to drop the |
||||||
<?define ToolchainVersionedVariantDirectory = ToolchainVersionedAsserts ?> | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we need the |
||||||
<?define VariantEnvironmentComponentGUID = 30629e0c-b376-47bc-bedf-fefb7d4ca61d?> | ||||||
<?define PythonRoot = "$(ImageRoot)\Python"?> | ||||||
|
||||||
<?include ../python.wxi ?> | ||||||
</Wix> | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Missing newline There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed, thanks 👍 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,159 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Include xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Extraneous whitespace |
||
<Package | ||
Language="1033" | ||
Manufacturer="!(loc.ManufacturerName)" | ||
Name="$(VariantProductName)" | ||
UpgradeCode="$(VariantUpgradeCode)" | ||
Version="$(NonSemVerProductVersion)" | ||
Scope="$(PackageScope)"> | ||
|
||
<Media Id="1" Cabinet="$(VariantCabinetName)" EmbedCab="$(ArePackageCabsEmbedded)" /> | ||
|
||
<WixVariable Id="SideBySidePackageUpgradeCode" Value="$(VariantUpgradeCode)" /> | ||
<FeatureGroupRef Id="SideBySideUpgradeStrategy" /> | ||
|
||
<ComponentGroup Id="EmbeddedPython"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can the directory attribute be moved to the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed, thanks 👍 |
||
<Component Directory="toolchain_$(VariantName)_usr_bin"> | ||
<File Source="$(PythonRoot)\libcrypto-1_1-arm64.dll" /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this file included on both ARM64 and AMD64? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's not, I've added the |
||
</Component> | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would drop the whitespace between the components. |
||
<Component Directory="toolchain_$(VariantName)_usr_bin"> | ||
<File Source="$(PythonRoot)\libffi-7.dll" /> | ||
</Component> | ||
|
||
<Component Directory="toolchain_$(VariantName)_usr_bin"> | ||
<File Source="$(PythonRoot)\libssl-1_1-arm64.dll" /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Likewise There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's not, I've added the |
||
</Component> | ||
|
||
<Component Directory="toolchain_$(VariantName)_usr_bin"> | ||
<File Source="$(PythonRoot)\LICENSE.txt" /> | ||
</Component> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why is the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I did not know about |
||
|
||
<Component Directory="toolchain_$(VariantName)_usr_bin"> | ||
<File Source="$(PythonRoot)\pyexpat.pyd" /> | ||
</Component> | ||
|
||
<Component Directory="toolchain_$(VariantName)_usr_bin"> | ||
<File Source="$(PythonRoot)\python.cat" /> | ||
</Component> | ||
|
||
<Component Directory="toolchain_$(VariantName)_usr_bin"> | ||
<File Source="$(PythonRoot)\python.exe" /> | ||
</Component> | ||
|
||
<Component Directory="toolchain_$(VariantName)_usr_bin"> | ||
<File Source="$(PythonRoot)\python3.dll" /> | ||
</Component> | ||
|
||
<Component Directory="toolchain_$(VariantName)_usr_bin"> | ||
<File Source="$(PythonRoot)\python310.dll" /> | ||
</Component> | ||
|
||
<Component Directory="toolchain_$(VariantName)_usr_bin"> | ||
<File Source="$(PythonRoot)\python310.zip" /> | ||
</Component> | ||
|
||
<Component Directory="toolchain_$(VariantName)_usr_bin"> | ||
<File Source="$(PythonRoot)\python310._pth" /> | ||
</Component> | ||
|
||
<Component Directory="toolchain_$(VariantName)_usr_bin"> | ||
<File Source="$(PythonRoot)\pythonw.exe" /> | ||
</Component> | ||
|
||
<Component Directory="toolchain_$(VariantName)_usr_bin"> | ||
<File Source="$(PythonRoot)\select.pyd" /> | ||
</Component> | ||
|
||
<Component Directory="toolchain_$(VariantName)_usr_bin"> | ||
<File Source="$(PythonRoot)\sqlite3.dll" /> | ||
</Component> | ||
|
||
<Component Directory="toolchain_$(VariantName)_usr_bin"> | ||
<File Source="$(PythonRoot)\unicodedata.pyd" /> | ||
</Component> | ||
|
||
<Component Directory="toolchain_$(VariantName)_usr_bin"> | ||
<File Source="$(PythonRoot)\vcruntime140.dll" /> | ||
</Component> | ||
|
||
<Component Directory="toolchain_$(VariantName)_usr_bin"> | ||
<File Source="$(PythonRoot)\vcruntime140_1.dll" /> | ||
</Component> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This brings up the question - do we want to bundle an additional copy of the VCRuntime? This is an interesting question because the toolchain itself also does depend on the runtime. There is a copy in the system. And now in python. The system one however will get security updates, this will not. Since part of the argument for this upgrade is "security" - we shouldn't be bundling them IMO. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removed them 👍 |
||
|
||
<Component Directory="toolchain_$(VariantName)_usr_bin"> | ||
<File Source="$(PythonRoot)\winsound.pyd" /> | ||
</Component> | ||
|
||
<Component Directory="toolchain_$(VariantName)_usr_bin"> | ||
<File Source="$(PythonRoot)\_asyncio.pyd" /> | ||
</Component> | ||
|
||
<Component Directory="toolchain_$(VariantName)_usr_bin"> | ||
<File Source="$(PythonRoot)\_bz2.pyd" /> | ||
</Component> | ||
|
||
<Component Directory="toolchain_$(VariantName)_usr_bin"> | ||
<File Source="$(PythonRoot)\_ctypes.pyd" /> | ||
</Component> | ||
|
||
<Component Directory="toolchain_$(VariantName)_usr_bin"> | ||
<File Source="$(PythonRoot)\_decimal.pyd" /> | ||
</Component> | ||
|
||
<Component Directory="toolchain_$(VariantName)_usr_bin"> | ||
<File Source="$(PythonRoot)\_elementtree.pyd" /> | ||
</Component> | ||
|
||
<Component Directory="toolchain_$(VariantName)_usr_bin"> | ||
<File Source="$(PythonRoot)\_hashlib.pyd" /> | ||
</Component> | ||
|
||
<Component Directory="toolchain_$(VariantName)_usr_bin"> | ||
<File Source="$(PythonRoot)\_lzma.pyd" /> | ||
</Component> | ||
|
||
<Component Directory="toolchain_$(VariantName)_usr_bin"> | ||
<File Source="$(PythonRoot)\_msi.pyd" /> | ||
</Component> | ||
|
||
<Component Directory="toolchain_$(VariantName)_usr_bin"> | ||
<File Source="$(PythonRoot)\_multiprocessing.pyd" /> | ||
</Component> | ||
|
||
<Component Directory="toolchain_$(VariantName)_usr_bin"> | ||
<File Source="$(PythonRoot)\_overlapped.pyd" /> | ||
</Component> | ||
|
||
<Component Directory="toolchain_$(VariantName)_usr_bin"> | ||
<File Source="$(PythonRoot)\_queue.pyd" /> | ||
</Component> | ||
|
||
<Component Directory="toolchain_$(VariantName)_usr_bin"> | ||
<File Source="$(PythonRoot)\_socket.pyd" /> | ||
</Component> | ||
|
||
<Component Directory="toolchain_$(VariantName)_usr_bin"> | ||
<File Source="$(PythonRoot)\_sqlite3.pyd" /> | ||
</Component> | ||
|
||
<Component Directory="toolchain_$(VariantName)_usr_bin"> | ||
<File Source="$(PythonRoot)\_ssl.pyd" /> | ||
</Component> | ||
|
||
<Component Directory="toolchain_$(VariantName)_usr_bin"> | ||
<File Source="$(PythonRoot)\_uuid.pyd" /> | ||
</Component> | ||
|
||
<Component Directory="toolchain_$(VariantName)_usr_bin"> | ||
<File Source="$(PythonRoot)\_zoneinfo.pyd" /> | ||
</Component> | ||
</ComponentGroup> | ||
|
||
<Feature Id="EmbeddedPython" AllowAbsent="yes" Title="$(VariantProductName)"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think that we should allow this component to be absent. We would install nothing then. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed, thanks 👍 |
||
<ComponentGroupRef Id="EmbeddedPython" /> | ||
</Feature> | ||
</Package> | ||
</Include> |
Uh oh!
There was an error while loading. Please reload this page.