summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2009-07-26 11:22:40 +0000
committerDavid Cournapeau <cournape@gmail.com>2009-07-26 11:22:40 +0000
commitfa50cfbe9df0ec56c7eb8fb7eca0b8270bf35c2f (patch)
treeb477330a66a9667a4e9f36669ea24cd465e9cd83 /doc/source
parenta71977d8e6a2e7f543a131dbebd557471fce64c5 (diff)
downloadnumpy-fa50cfbe9df0ec56c7eb8fb7eca0b8270bf35c2f.tar.gz
Use automethod for the functions we added to numpy.distutils.
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/reference/distutils.rst24
1 files changed, 3 insertions, 21 deletions
diff --git a/doc/source/reference/distutils.rst b/doc/source/reference/distutils.rst
index 094d7a2b7..34c3a1eac 100644
--- a/doc/source/reference/distutils.rst
+++ b/doc/source/reference/distutils.rst
@@ -229,27 +229,9 @@ misc_util
Add the sequence of files to the beginning of the scripts list.
Scripts will be installed under the <prefix>/bin/ directory.
- .. method:: add_installed_library(name, sources, install_dir, **build_info)
-
- Similar to add_library, but the corresponding library is installed.
- Most C libraries are only used to build python extensions, but
- libraries built through this method will be installed so that they can
- be reused by third-party. install_dir is relative to the current
- subpackage.
-
- Example
- -------
- config.add_installed_library('foo', sources=['foo.c'], install_dir='lib')
-
- If the package corresponding to config is 'fubar', this will install
- the library in fubar/lib.
-
- Note
- ----
- The best way to encode the necessary options to link against those C
- libraries is to use a libname.ini file, and use get_info to retrieve
- those informations (see add_npy_pkg_config method for more
- information).
+ .. automethod:: add_installed_library
+
+ .. automethod:: add_npy_pkg_config
.. method:: paths(*paths)