Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
344d066a
Kaydet (Commit)
344d066a
authored
May 09, 2008
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Use the CHM file name that Sphinx assigns.
üst
f8476c15
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
msi.py
Tools/msi/msi.py
+10
-4
No files found.
Tools/msi/msi.py
Dosyayı görüntüle @
344d066a
...
...
@@ -111,6 +111,12 @@ pythondll_uuid = {
"26"
:
"{34ebecac-f046-4e1c-b0e3-9bac3cdaacfa}"
,
}
[
major
+
minor
]
# Compute the name that Sphinx gives to the docfile
docfile
=
""
if
level
<
0xf
:
docfile
=
'
%
x
%
s'
%
(
level
,
serial
)
docfile
=
'python
%
s
%
s
%
s.chm'
%
(
major
,
minor
,
docfile
)
# Build the mingw import library, libpythonXY.a
# This requires 'nm' and 'dlltool' executables on your PATH
def
build_mingw_lib
(
lib_file
,
def_file
,
dll_file
,
mingw_lib
):
...
...
@@ -1072,8 +1078,8 @@ def add_files(db):
# Add documentation
htmlfiles
.
set_current
()
lib
=
PyDirectory
(
db
,
cab
,
root
,
"Doc"
,
"Doc"
,
"DOC|Doc"
)
lib
.
start_component
(
"documentation"
,
keyfile
=
"Python
%
s
%
s.chm"
%
(
major
,
minor
)
)
lib
.
add_file
(
"Python
%
s
%
s.chm"
%
(
major
,
minor
),
src
=
"build/htmlhelp/pydoc.chm"
)
lib
.
start_component
(
"documentation"
,
keyfile
=
docfile
)
lib
.
add_file
(
docfile
,
src
=
"build/htmlhelp/"
+
docfile
)
cab
.
commit
(
db
)
...
...
@@ -1181,7 +1187,7 @@ def add_registry(db):
(
"PythonPath"
,
-
1
,
prefix
+
r"\PythonPath"
,
""
,
r"[TARGETDIR]Lib;[TARGETDIR]DLLs;[TARGETDIR]Lib\lib-tk"
,
"REGISTRY"
),
(
"Documentation"
,
-
1
,
prefix
+
r"\Help\Main Python Documentation"
,
""
,
r"[TARGETDIR]Doc\Python
%
s
%
s.chm"
%
(
major
,
minor
)
,
"REGISTRY.doc"
),
"[TARGETDIR]Doc
\\
"
+
docfile
,
"REGISTRY.doc"
),
(
"Modules"
,
-
1
,
prefix
+
r"\Modules"
,
"+"
,
None
,
"REGISTRY"
),
(
"AppPaths"
,
-
1
,
r"Software\Microsoft\Windows\CurrentVersion\App Paths\Python.exe"
,
""
,
r"[TARGETDIR]Python.exe"
,
"REGISTRY.def"
)
...
...
@@ -1211,7 +1217,7 @@ def add_registry(db):
# htmlfiles.id, None, None, None, None, None, None, None),
## Non-advertised shortcuts: must be associated with a registry component
(
"Manual"
,
"MenuDir"
,
"MANUAL|Python Manuals"
,
"REGISTRY.doc"
,
"[#
Python
%
s
%
s.chm]"
%
(
major
,
minor
)
,
None
,
"[#
%
s]"
%
docfile
,
None
,
None
,
None
,
None
,
None
,
None
,
None
),
(
"Uninstall"
,
"MenuDir"
,
"UNINST|Uninstall Python"
,
"REGISTRY"
,
SystemFolderName
+
"msiexec"
,
"/x
%
s"
%
product_code
,
...
...
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