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
Gwenaël Samain
cython
Commits
7b34a9a5
Commit
7b34a9a5
authored
May 20, 2014
by
mwtoews
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use more recent version of Python for documented examples
parent
91473013
Changes
3
Hide 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 @
7b34a9a5
...
@@ -35,7 +35,7 @@ have some details for your system. Here we give an example on a Linux
...
@@ -35,7 +35,7 @@ have some details for your system. Here we give an example on a Linux
system::
system::
$ gcc -shared -pthread -fPIC -fwrapv -O2 -Wall -fno-strict-aliasing \
$ 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
[``gcc`` will need to have paths to your included header files and
paths to libraries you need to link with]
paths to libraries you need to link with]
...
...
docs/src/tutorial/appendix.rst
View file @
7b34a9a5
...
@@ -17,8 +17,8 @@ Appendix: Installing MinGW on Windows
...
@@ -17,8 +17,8 @@ Appendix: Installing MinGW on Windows
http://support.microsoft.com/kb/310519
http://support.microsoft.com/kb/310519
4. Finally, tell Python to use MinGW as the default compiler
4. Finally, tell Python to use MinGW as the default compiler
(otherwise it will try for Visual C). If Python is installed to
(otherwise it will try for Visual C). If Python is installed to
"c:\\Python2
6
", create a file named
"c:\\Python2
7
", create a file named
"c:\\Python2
6
\\Lib\\distutils\\distutils.cfg" containing::
"c:\\Python2
7
\\Lib\\distutils\\distutils.cfg" containing::
[build]
[build]
compiler = mingw32
compiler = mingw32
...
...
docs/src/userguide/numpy_tutorial.rst
View file @
7b34a9a5
...
@@ -122,7 +122,7 @@ file should be built like Python was built. Python documentation for writing
...
@@ -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
extensions should have some details. On Linux this often means something
like::
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
``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
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