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
705c0e38
Kaydet (Commit)
705c0e38
authored
Nis 09, 2016
tarafından
Berker Peksag
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #17264: Fix cross refs and a markup error in extending/building.rst
üst
d7fdc861
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
building.rst
Doc/extending/building.rst
+6
-5
No files found.
Doc/extending/building.rst
Dosyayı görüntüle @
705c0e38
...
@@ -40,7 +40,7 @@ It is possible to export multiple modules from a single shared library by
...
@@ -40,7 +40,7 @@ It is possible to export multiple modules from a single shared library by
defining multiple initialization functions. However, importing them requires
defining multiple initialization functions. However, importing them requires
using symbolic links or a custom importer, because by default only the
using symbolic links or a custom importer, because by default only the
function corresponding to the filename is found.
function corresponding to the filename is found.
See
:PEP:`489#multiple-modules-in-one-library
` for details.
See
the *"Multiple modules in one library"* section in :pep:`489
` for details.
.. highlightlang:: c
.. highlightlang:: c
...
@@ -88,7 +88,8 @@ distutils; this section explains building extension modules only.
...
@@ -88,7 +88,8 @@ distutils; this section explains building extension modules only.
It is common to pre-compute arguments to :func:`setup`, to better structure the
It is common to pre-compute arguments to :func:`setup`, to better structure the
driver script. In the example above, the ``ext_modules`` argument to
driver script. In the example above, the ``ext_modules`` argument to
:func:`setup` is a list of extension modules, each of which is an instance of
:func:`~distutils.core.setup` is a list of extension modules, each of which is
an instance of
the :class:`~distutils.extension.Extension`. In the example, the instance
the :class:`~distutils.extension.Extension`. In the example, the instance
defines an extension named ``demo`` which is build by compiling a single source
defines an extension named ``demo`` which is build by compiling a single source
file, :file:`demo.c`.
file, :file:`demo.c`.
...
@@ -119,7 +120,8 @@ example below. ::
...
@@ -119,7 +120,8 @@ example below. ::
ext_modules = [module1])
ext_modules = [module1])
In this example, :func:`setup` is called with additional meta-information, which
In this example, :func:`~distutils.core.setup` is called with additional
meta-information, which
is recommended when distribution packages have to be built. For the extension
is recommended when distribution packages have to be built. For the extension
itself, it specifies preprocessor defines, include directories, library
itself, it specifies preprocessor defines, include directories, library
directories, and libraries. Depending on the compiler, distutils passes this
directories, and libraries. Depending on the compiler, distutils passes this
...
@@ -150,8 +152,7 @@ Module maintainers should produce source packages; to do so, they run ::
...
@@ -150,8 +152,7 @@ Module maintainers should produce source packages; to do so, they run ::
python setup.py sdist
python setup.py sdist
In some cases, additional files need to be included in a source distribution;
In some cases, additional files need to be included in a source distribution;
this is done through a :file:`MANIFEST.in` file; see the distutils documentation
this is done through a :file:`MANIFEST.in` file; see :ref:`manifest` for details.
for details.
If the source distribution has been build successfully, maintainers can also
If the source distribution has been build successfully, maintainers can also
create binary distributions. Depending on the platform, one of the following
create binary distributions. Depending on the platform, one of the following
...
...
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