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
Kirill Smelkov
cython
Commits
9355ac4d
Commit
9355ac4d
authored
Mar 16, 2018
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor doc fixes.
parent
f70e1cd3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
docs/src/quickstart/build.rst
docs/src/quickstart/build.rst
+3
-3
No files found.
docs/src/quickstart/build.rst
View file @
9355ac4d
...
@@ -20,15 +20,15 @@ There are several ways to build Cython code:
...
@@ -20,15 +20,15 @@ There are several ways to build Cython code:
- Write a distutils/setuptools ``setup.py``. This is the normal and recommended way.
- Write a distutils/setuptools ``setup.py``. This is the normal and recommended way.
- Use ``pyximport``, importing Cython ``.pyx`` files as if they
- Use ``pyximport``, importing Cython ``.pyx`` files as if they
were ``.py`` files (using distutils to compile and build in the background).
were ``.py`` files (using distutils to compile and build in the background).
This method is easier than writing a ``setup.py``, but is
n'
t very flexible.
This method is easier than writing a ``setup.py``, but is
no
t very flexible.
So you'll need to write a ``setup.py`` if
you want, for example,
certain compilations options.
So you'll need to write a ``setup.py`` if
, for example, you need
certain compilations options.
- Run the ``cython`` command-line utility manually to produce the ``.c`` file
- Run the ``cython`` command-line utility manually to produce the ``.c`` file
from the ``.pyx`` file, then manually compiling the ``.c`` file into a shared
from the ``.pyx`` file, then manually compiling the ``.c`` file into a shared
object library or DLL suitable for import from Python.
object library or DLL suitable for import from Python.
(These manual steps are mostly for debugging and experimentation.)
(These manual steps are mostly for debugging and experimentation.)
- Use the [Jupyter]_ notebook or the [Sage]_ notebook,
- Use the [Jupyter]_ notebook or the [Sage]_ notebook,
both of which allow Cython code inline.
both of which allow Cython code inline.
This is the easiest way to get started writ
ting Cython code and run
it.
This is the easiest way to get started writ
ing Cython code and running
it.
Currently, using distutils or setuptools is the most common way Cython files are built and distributed.
Currently, using distutils or setuptools is the most common way Cython files are built and distributed.
The other methods are described in more detail in the :ref:`compilation` section of the reference manual.
The other methods are described in more detail in the :ref:`compilation` section of the reference manual.
...
...
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