Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
4e765555
Commit
4e765555
authored
May 16, 2002
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix broken reference, minor clarification.
parent
742dc774
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
Doc/ext/extending.tex
Doc/ext/extending.tex
+10
-8
No files found.
Doc/ext/extending.tex
View file @
4e765555
...
...
@@ -414,18 +414,20 @@ for more information.
There are two more things to do before you can use your new extension:
compiling and linking it with the Python system. If you use dynamic
loading, the details depend on the style of dynamic loading your
system uses; see the chapters about building extension modules on
\UNIX
{}
(chapter
\ref
{
building-on-unix
}
) and Windows (chapter
\ref
{
building-on-windows
}
) for more information about this.
% XXX Add information about MacOS
loading, the details may depend on the style of dynamic loading your
system uses; see the chapters about building extension modules
(chapter
\ref
{
building
}
) and additional information that pertains only
to building on Windows (chapter
\ref
{
building-on-windows
}
) for more
information about this.
% XXX Add information about Mac OS
If you can't use dynamic loading, or if you want to make your module a
permanent part of the Python interpreter, you will have to change the
configuration setup and rebuild the interpreter. Luckily, this is
very simple: just place your file (
\file
{
spammodule.c
}
for example) in
the
\file
{
Modules/
}
directory of an unpacked source distribution, add
a line to the file
\file
{
Modules/Setup.local
}
describing your file:
very simple on
\UNIX
: just place your file (
\file
{
spammodule.c
}
for
example) in the
\file
{
Modules/
}
directory of an unpacked source
distribution, add a line to the file
\file
{
Modules/Setup.local
}
describing your file:
\begin{verbatim}
spam spammodule.o
...
...
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