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
b227227c
Kaydet (Commit)
b227227c
authored
Ara 11, 2016
tarafından
Steve Dower
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Issue #28783: Replaces bdist_wininst in nuget packages with stub
üst
4cc30ae3
e711cc0f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
38 deletions
+22
-38
distutils.command.__init__.py
Tools/msi/distutils.command.__init__.py
+0
-32
distutils.command.bdist_wininst.py
Tools/msi/distutils.command.bdist_wininst.py
+20
-0
make_zip.py
Tools/msi/make_zip.py
+2
-6
No files found.
Tools/msi/distutils.command.__init__.py
deleted
100644 → 0
Dosyayı görüntüle @
4cc30ae3
"""distutils.command
Package containing implementation of all the standard Distutils
commands."""
__all__
=
[
'build'
,
'build_py'
,
'build_ext'
,
'build_clib'
,
'build_scripts'
,
'clean'
,
'install'
,
'install_lib'
,
'install_headers'
,
'install_scripts'
,
'install_data'
,
'sdist'
,
'register'
,
'bdist'
,
'bdist_dumb'
,
'bdist_rpm'
,
# This command is not included in this package
#'bdist_wininst',
'check'
,
'upload'
,
# These two are reserved for future use:
#'bdist_sdux',
#'bdist_pkgtool',
# Note:
# bdist_packager is not included because it only provides
# an abstract base class
]
Tools/msi/distutils.command.bdist_wininst.py
0 → 100644
Dosyayı görüntüle @
b227227c
"""distutils.command.bdist_wininst
Suppresses the 'bdist_wininst' command, while still allowing
setuptools to import it without breaking."""
from
distutils.core
import
Command
from
distutils.errors
import
DistutilsPlatformError
class
bdist_wininst
(
Command
):
description
=
"create an executable installer for MS Windows"
def
initialize_options
(
self
):
pass
def
finalize_options
(
self
):
pass
def
run
(
self
):
raise
DistutilsPlatformError
(
"bdist_wininst is not supported "
"in this Python distribution"
)
Tools/msi/make_zip.py
Dosyayı görüntüle @
b227227c
...
...
@@ -79,10 +79,6 @@ def include_in_lib(p):
if
name
in
EXCLUDE_FILE_FROM_LIBRARY
:
return
False
# Special code is included below to patch this file back in
if
[
d
.
lower
()
for
d
in
p
.
parts
[
-
3
:]]
==
[
'distutils'
,
'command'
,
'__init__.py'
]:
return
False
suffix
=
p
.
suffix
.
lower
()
return
suffix
not
in
{
'.pyc'
,
'.pyo'
,
'.exe'
}
...
...
@@ -218,8 +214,8 @@ def main():
extra_files
=
[]
if
s
==
'Lib'
and
p
==
'**/*'
:
extra_files
.
append
((
source
/
'tools'
/
'msi'
/
'distutils.command.
__init__
.py'
,
Path
(
'distutils'
)
/
'command'
/
'
__init__
.py'
source
/
'tools'
/
'msi'
/
'distutils.command.
bdist_wininst
.py'
,
Path
(
'distutils'
)
/
'command'
/
'
bdist_wininst
.py'
))
copied
=
copy_to_layout
(
temp
/
t
.
rstrip
(
'/'
),
chain
(
files
,
extra_files
))
print
(
'Copied {} files'
.
format
(
copied
))
...
...
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