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
75a4fab6
Kaydet (Commit)
75a4fab6
authored
Şub 27, 2009
tarafından
Tarek Ziadé
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
more info on long_description
üst
b5fc89ee
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
3 deletions
+34
-3
setupscript.rst
Doc/distutils/setupscript.rst
+5
-3
uploading.rst
Doc/distutils/uploading.rst
+29
-0
No files found.
Doc/distutils/setupscript.rst
Dosyayı görüntüle @
75a4fab6
...
...
@@ -576,7 +576,7 @@ This information includes:
|
|
description
of
the
|
|
|
|
|
package
|
|
|
+----------------------+---------------------------+-----------------+--------+
|
``
long_description
``
|
longer
description
of
the
|
long
string
|
|
|
``
long_description
``
|
longer
description
of
the
|
long
string
|
\(
5
)
|
|
|
package
|
|
|
+----------------------+---------------------------+-----------------+--------+
|
``
download_url
``
|
location
where
the
|
URL
|
\(
4
)
|
...
...
@@ -603,6 +603,10 @@ Notes:
versions
prior
to
2.2.3
or
2.3
.
The
list
is
available
from
the
`
PyPI
website
<
http
://
pypi
.
python
.
org
/
pypi
>`
_
.
(
5
)
The
``
long_description
``
field
is
used
by
PyPI
when
you
are
registering
a
package
,
to
build
its
home
page
.
'short string'
A
single
line
of
text
,
not
more
than
200
characters
.
...
...
@@ -686,5 +690,3 @@ failure. For this purpose, the DISTUTILS_DEBUG environment variable can be set
to
anything
except
an
empty
string
,
and
distutils
will
now
print
detailed
information
what
it
is
doing
,
and
prints
the
full
traceback
in
case
an
exception
occurs
.
Doc/distutils/uploading.rst
Dosyayı görüntüle @
75a4fab6
...
...
@@ -43,3 +43,32 @@ Other :command:`upload` options include :option:`--repository=<url>` or
*
section
*
the
name
of
the
section
in
:
file
:`$
HOME
/.
pypirc
`,
and
:
option
:`--
show
-
response
`
(
which
displays
the
full
response
text
from
the
PyPI
server
for
help
in
debugging
upload
problems
).
PyPI
package
display
====================
The
``
long_description
``
field
plays
a
special
role
at
PyPI
.
It
is
used
by
the
server
to
display
a
home
page
for
the
registered
package
.
If
you
use
the
`
reStructuredText
<
http
://
docutils
.
sourceforge
.
net
/
rst
.
html
>`
_
syntax
for
this
field
,
PyPI
will
parse
it
and
display
an
HTML
output
for
the
package
home
page
.
The
``
long_description
``
field
can
be
attached
to
a
text
file
located
in
the
package
::
from
distutils
.
core
import
setup
setup
(
name
=
'Distutils'
,
long_description
=
open
(
'README.txt'
))
In
that
case
,
`
README
.
txt
`
is
a
regular
reStructuredText
text
file
located
in
the
root
of
the
package
besides
`
setup
.
py
`.
To
prevent
registering
broken
reStructuredText
content
,
you
can
use
the
:
program
:`
rst2html
`
program
that
is
provided
by
the
`
docutils
`
package
and
check
the
``
long_description
``
from
the
command
line
::
$
python
setup
.
py
--
long
-
description
|
rst2html
.
py
>
output
.
html
`
docutils
`
will
display
a
warning
if
there
's something wrong with your syntax.
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