Permalink
Browse files

Fixed a couple of typos in setup script

Made 'sources' a list of string(s), and also fixed a typo.
  • Loading branch information...
Joon Ro
Joon Ro committed Oct 8, 2012
1 parent 9788182 commit 7fd0fc93518d98517791422e4d25688be18e2f29
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/src/userguide/debugging.rst
@@ -20,8 +20,8 @@ script by passing ``pyrex_gdb=True`` to your Cython Extenion class::
from Cython.Distutils import extension
- ext = extension.Extension('source', 'source.pyx', pyrex_gdb=True)
- setup(..., ext_modules=[ext)]
+ ext = extension.Extension('source', ['source.pyx'], pyrex_gdb=True)
+ setup(..., ext_modules=[ext])
With this approach debug information can be enabled on a per-module basis.
Another (easier) way is to simply pass the ``--pyrex-gdb`` flag as a command

0 comments on commit 7fd0fc9

Please sign in to comment.