Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
1d278fc7
Commit
1d278fc7
authored
Mar 28, 2006
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move product_codes in their own file.
parent
275935db
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
34 deletions
+34
-34
Tools/msi/msi.py
Tools/msi/msi.py
+1
-34
Tools/msi/uuids.py
Tools/msi/uuids.py
+33
-0
No files found.
Tools/msi/msi.py
View file @
1d278fc7
...
@@ -6,6 +6,7 @@ from msilib import Feature, CAB, Directory, Dialog, Binary, add_data
...
@@ -6,6 +6,7 @@ from msilib import Feature, CAB, Directory, Dialog, Binary, add_data
import
uisample
import
uisample
from
win32com.client
import
constants
from
win32com.client
import
constants
from
distutils.spawn
import
find_executable
from
distutils.spawn
import
find_executable
from
uuids
import
product_codes
# Settings can be overridden in config.py below
# Settings can be overridden in config.py below
# 0 for official python.org releases
# 0 for official python.org releases
...
@@ -62,40 +63,6 @@ current_version = "%s.%d" % (short_version, FIELD3)
...
@@ -62,40 +63,6 @@ current_version = "%s.%d" % (short_version, FIELD3)
upgrade_code_snapshot
=
'{92A24481-3ECB-40FC-8836-04B7966EC0D5}'
upgrade_code_snapshot
=
'{92A24481-3ECB-40FC-8836-04B7966EC0D5}'
upgrade_code
=
'{65E6DE48-A358-434D-AA4F-4AF72DB4718F}'
upgrade_code
=
'{65E6DE48-A358-434D-AA4F-4AF72DB4718F}'
# This should be extended for each Python release.
# The product code must change whenever the name of the MSI file
# changes, and when new component codes are issued for existing
# components. See "Changing the Product Code". As we change the
# component codes with every build, we need a new product code
# each time. For intermediate (snapshot) releases, they are automatically
# generated. For official releases, we record the product codes,
# so people can refer to them.
product_codes
=
{
'2.4.101'
:
'{0e9b4d8e-6cda-446e-a208-7b92f3ddffa0}'
,
# 2.4a1, released as a snapshot
'2.4.102'
:
'{1b998745-4901-4edb-bc52-213689e1b922}'
,
# 2.4a2
'2.4.103'
:
'{33fc8bd2-1e8f-4add-a40a-ade2728d5942}'
,
# 2.4a3
'2.4.111'
:
'{51a7e2a8-2025-4ef0-86ff-e6aab742d1fa}'
,
# 2.4b1
'2.4.112'
:
'{4a5e7c1d-c659-4fe3-b8c9-7c65bd9c95a5}'
,
# 2.4b2
'2.4.121'
:
'{75508821-a8e9-40a8-95bd-dbe6033ddbea}'
,
# 2.4c1
'2.4.122'
:
'{83a9118b-4bdd-473b-afc3-bcb142feca9e}'
,
# 2.4c2
'2.4.150'
:
'{82d9302e-f209-4805-b548-52087047483a}'
,
# 2.4.0
'2.4.1121'
:
'{be027411-8e6b-4440-a29b-b07df0690230}'
,
# 2.4.1c1
'2.4.1122'
:
'{02818752-48bf-4074-a281-7a4114c4f1b1}'
,
# 2.4.1c2
'2.4.1150'
:
'{4d4f5346-7e4a-40b5-9387-fdb6181357fc}'
,
# 2.4.1
'2.4.2121'
:
'{5ef9d6b6-df78-45d2-ab09-14786a3c5a99}'
,
# 2.4.2c1
'2.4.2150'
:
'{b191e49c-ea23-43b2-b28a-14e0784069b8}'
,
# 2.4.2
'2.4.3121'
:
'{f669ed4d-1dce-41c4-9617-d985397187a1}'
,
# 2.4.3c1
'2.4.3150'
:
'{75e71add-042c-4f30-bfac-a9ec42351313}'
,
# 2.4.3
'2.5.101'
:
'{bc14ce3e-5e72-4a64-ac1f-bf59a571898c}'
,
# 2.5a1
'2.5.102'
:
'{5eed51c1-8e9d-4071-94c5-b40de5d49ba5}'
,
# 2.5a2
'2.5.103'
:
'{73dcd966-ffec-415f-bb39-8342c1f47017}'
,
# 2.5a3
'2.5.111'
:
'{c797ecf8-a8e6-4fec-bb99-526b65f28626}'
,
# 2.5b1
'2.5.112'
:
'{32beb774-f625-439d-b587-7187487baf15}'
,
# 2.5b2
'2.5.121'
:
'{8e9321bc-6b24-48a3-8fd4-c95f8e531e5f}'
,
# 2.5c1
'2.5.122'
:
'{a6cd508d-9599-45da-a441-cbffa9f7e070}'
,
# 2.5c2
'2.5.150'
:
'{0a2c5854-557e-48c8-835a-3b9f074bdcaa}'
,
# 2.5.0
}
if
snapshot
:
if
snapshot
:
current_version
=
"%s.%s.%s"
%
(
major
,
minor
,
int
(
time
.
time
()
/
3600
/
24
))
current_version
=
"%s.%s.%s"
%
(
major
,
minor
,
int
(
time
.
time
()
/
3600
/
24
))
product_code
=
msilib
.
gen_uuid
()
product_code
=
msilib
.
gen_uuid
()
...
...
Tools/msi/uuids.py
0 → 100644
View file @
1d278fc7
# This should be extended for each Python release.
# The product code must change whenever the name of the MSI file
# changes, and when new component codes are issued for existing
# components. See "Changing the Product Code". As we change the
# component codes with every build, we need a new product code
# each time. For intermediate (snapshot) releases, they are automatically
# generated. For official releases, we record the product codes,
# so people can refer to them.
product_codes
=
{
'2.4.101'
:
'{0e9b4d8e-6cda-446e-a208-7b92f3ddffa0}'
,
# 2.4a1, released as a snapshot
'2.4.102'
:
'{1b998745-4901-4edb-bc52-213689e1b922}'
,
# 2.4a2
'2.4.103'
:
'{33fc8bd2-1e8f-4add-a40a-ade2728d5942}'
,
# 2.4a3
'2.4.111'
:
'{51a7e2a8-2025-4ef0-86ff-e6aab742d1fa}'
,
# 2.4b1
'2.4.112'
:
'{4a5e7c1d-c659-4fe3-b8c9-7c65bd9c95a5}'
,
# 2.4b2
'2.4.121'
:
'{75508821-a8e9-40a8-95bd-dbe6033ddbea}'
,
# 2.4c1
'2.4.122'
:
'{83a9118b-4bdd-473b-afc3-bcb142feca9e}'
,
# 2.4c2
'2.4.150'
:
'{82d9302e-f209-4805-b548-52087047483a}'
,
# 2.4.0
'2.4.1121'
:
'{be027411-8e6b-4440-a29b-b07df0690230}'
,
# 2.4.1c1
'2.4.1122'
:
'{02818752-48bf-4074-a281-7a4114c4f1b1}'
,
# 2.4.1c2
'2.4.1150'
:
'{4d4f5346-7e4a-40b5-9387-fdb6181357fc}'
,
# 2.4.1
'2.4.2121'
:
'{5ef9d6b6-df78-45d2-ab09-14786a3c5a99}'
,
# 2.4.2c1
'2.4.2150'
:
'{b191e49c-ea23-43b2-b28a-14e0784069b8}'
,
# 2.4.2
'2.4.3121'
:
'{f669ed4d-1dce-41c4-9617-d985397187a1}'
,
# 2.4.3c1
'2.4.3150'
:
'{75e71add-042c-4f30-bfac-a9ec42351313}'
,
# 2.4.3
'2.5.101'
:
'{bc14ce3e-5e72-4a64-ac1f-bf59a571898c}'
,
# 2.5a1
'2.5.102'
:
'{5eed51c1-8e9d-4071-94c5-b40de5d49ba5}'
,
# 2.5a2
'2.5.103'
:
'{73dcd966-ffec-415f-bb39-8342c1f47017}'
,
# 2.5a3
'2.5.111'
:
'{c797ecf8-a8e6-4fec-bb99-526b65f28626}'
,
# 2.5b1
'2.5.112'
:
'{32beb774-f625-439d-b587-7187487baf15}'
,
# 2.5b2
'2.5.121'
:
'{8e9321bc-6b24-48a3-8fd4-c95f8e531e5f}'
,
# 2.5c1
'2.5.122'
:
'{a6cd508d-9599-45da-a441-cbffa9f7e070}'
,
# 2.5c2
'2.5.150'
:
'{0a2c5854-557e-48c8-835a-3b9f074bdcaa}'
,
# 2.5.0
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment