Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
cython
Commits
6de8f848
Commit
6de8f848
authored
May 21, 2014
by
scoder
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #296 from mwtoews/master
Use more recent version of Python for documented examples
parents
91473013
7b34a9a5
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
docs/src/reference/compilation.rst
docs/src/reference/compilation.rst
+1
-1
docs/src/tutorial/appendix.rst
docs/src/tutorial/appendix.rst
+2
-2
docs/src/userguide/numpy_tutorial.rst
docs/src/userguide/numpy_tutorial.rst
+1
-1
No files found.
docs/src/reference/compilation.rst
View file @
6de8f848
...
...
@@ -35,7 +35,7 @@ have some details for your system. Here we give an example on a Linux
system::
$ gcc -shared -pthread -fPIC -fwrapv -O2 -Wall -fno-strict-aliasing \
-I/usr/include/python2.
5
-o yourmod.so yourmod.c
-I/usr/include/python2.
7
-o yourmod.so yourmod.c
[``gcc`` will need to have paths to your included header files and
paths to libraries you need to link with]
...
...
docs/src/tutorial/appendix.rst
View file @
6de8f848
...
...
@@ -17,8 +17,8 @@ Appendix: Installing MinGW on Windows
http://support.microsoft.com/kb/310519
4. Finally, tell Python to use MinGW as the default compiler
(otherwise it will try for Visual C). If Python is installed to
"c:\\Python2
6
", create a file named
"c:\\Python2
6
\\Lib\\distutils\\distutils.cfg" containing::
"c:\\Python2
7
", create a file named
"c:\\Python2
7
\\Lib\\distutils\\distutils.cfg" containing::
[build]
compiler = mingw32
...
...
docs/src/userguide/numpy_tutorial.rst
View file @
6de8f848
...
...
@@ -122,7 +122,7 @@ file should be built like Python was built. Python documentation for writing
extensions should have some details. On Linux this often means something
like::
$ gcc -shared -pthread -fPIC -fwrapv -O2 -Wall -fno-strict-aliasing -I/usr/include/python2.
5
-o yourmod.so yourmod.c
$ gcc -shared -pthread -fPIC -fwrapv -O2 -Wall -fno-strict-aliasing -I/usr/include/python2.
7
-o yourmod.so yourmod.c
``gcc`` should have access to the NumPy C header files so if they are not
installed at :file:`/usr/include/numpy` or similar you may need to pass another
...
...
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