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
3c071355
Kaydet (Commit)
3c071355
authored
Kas 02, 2013
tarafından
Jason R. Coombs
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #19286: [distutils] Only match files in build_py.find_data_files.
üst
83aafda5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
build_py.py
Lib/distutils/command/build_py.py
+2
-1
No files found.
Lib/distutils/command/build_py.py
Dosyayı görüntüle @
3c071355
...
...
@@ -128,7 +128,8 @@ class build_py(Command):
# Each pattern has to be converted to a platform-specific path
filelist
=
glob
(
os
.
path
.
join
(
src_dir
,
convert_path
(
pattern
)))
# Files that match more than one pattern are only added once
files
.
extend
([
fn
for
fn
in
filelist
if
fn
not
in
files
])
files
.
extend
([
fn
for
fn
in
filelist
if
fn
not
in
files
and
os
.
path
.
isfile
(
fn
)])
return
files
def
build_package_data
(
self
):
...
...
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