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
08a6926b
Unverified
Kaydet (Commit)
08a6926b
authored
Şub 18, 2018
tarafından
Éric Araujo
Kaydeden (comit)
GitHub
Şub 18, 2018
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Improve error message for "setup.py upload" without dist files (#21060)
üst
3fb813d2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
upload.py
Lib/distutils/command/upload.py
+2
-1
2018-02-17-19-20-19.bpo-21060.S1Z-x6.rst
...S.d/next/Library/2018-02-17-19-20-19.bpo-21060.S1Z-x6.rst
+3
-0
No files found.
Lib/distutils/command/upload.py
Dosyayı görüntüle @
08a6926b
...
...
@@ -57,7 +57,8 @@ class upload(PyPIRCCommand):
def
run
(
self
):
if
not
self
.
distribution
.
dist_files
:
msg
=
"No dist file created in earlier command"
msg
=
(
"Must create and upload files in one command "
"(e.g. setup.py sdist upload)"
)
raise
DistutilsOptionError
(
msg
)
for
command
,
pyversion
,
filename
in
self
.
distribution
.
dist_files
:
self
.
upload_file
(
command
,
pyversion
,
filename
)
...
...
Misc/NEWS.d/next/Library/2018-02-17-19-20-19.bpo-21060.S1Z-x6.rst
0 → 100644
Dosyayı görüntüle @
08a6926b
Rewrite confusing message from setup.py upload from
"No dist file created in earlier command" to the more helpful
"Must create and upload files in one command".
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