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
ae22bbed
Kaydet (Commit)
ae22bbed
authored
Mar 22, 2005
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
- fix markup bugs
- more consistent markup - elaborate a couple of points
üst
7355e813
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
5 deletions
+14
-5
dist.tex
Doc/dist/dist.tex
+14
-5
No files found.
Doc/dist/dist.tex
Dosyayı görüntüle @
ae22bbed
...
...
@@ -1738,14 +1738,20 @@ the package data if the author of the package wishes to. The distutils
command
\command
{
upload
}
pushes the distribution files to PyPI.
The command is invokes immediately after building one or more distribution
files
, e.g. as
files
. For example, the command
\begin{verbatim}
python setup.py sdist bdist
_
wininst upload
\end{verbatim}
will cause the source distribution and the Windows installer to be
uploaded to PyPI. Note that these will be uploaded even if they are
built using an earlier invocation of
\file
{
setup.py
}
, but that only
distributions named on the command line for the invocation including
the
\command
{
upload
}
command are uploaded.
The
\command
{
upload
}
command uses the username and password stored in
in the file
\file
{
$
HOME
/
.pypirc
}
, see
\ref
{
pypirc
}
.
in the file
\file
{
\$
HOME/.pypirc
}
, see section~
\ref
{
pypirc
}
.
\chapter
{
Examples
}
\label
{
examples
}
...
...
@@ -2087,9 +2093,12 @@ or \class{buildcmds.bdist_openpkg.bdist_openpkg}.
\section
{
Adding new distribution types
}
Commands that create distributions
(
i.e. files in the dist directory
)
need to add
(
command, filename
)
pairs to
\var
{
self.distribution.dist
_
files
}
so that
\command
{
upload
}
can upload it to PyPI.
Commands that create distributions (files in the
\file
{
dist/
}
directory) need to add
\code
{
(
\var
{
command
}
,
\var
{
filename
}
)
}
pairs to
\code
{
self.distribution.dist
_
files
}
so that
\command
{
upload
}
can
upload it to PyPI. The
\var
{
filename
}
in the pair contains no path
information, only the name of the file itself. In dry-run mode, pairs
should still be added to represent what would have been created.
\chapter
{
Command Reference
}
\label
{
reference
}
...
...
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