Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Side by Side Diff: third_party/cython/src/cython.py

Issue 385073004: Adding cython v0.20.2 in third-party. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reference cython dev list thread. Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « third_party/cython/src/cygdb.py ('k') | third_party/cython/src/pylintrc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/env python
2
3 #
4 # Cython -- Main Program, generic
5 #
6
7 if __name__ == '__main__':
8
9 import os
10 import sys
11
12 # Make sure we import the right Cython
13 cythonpath, _ = os.path.split(os.path.realpath(__file__))
14 sys.path.insert(0, cythonpath)
15
16 from Cython.Compiler.Main import main
17 main(command_line = 1)
18
19 else:
20 # Void cython.* directives.
21 from Cython.Shadow import *
22 ## and bring in the __version__
23 from Cython import __version__
OLDNEW
« no previous file with comments | « third_party/cython/src/cygdb.py ('k') | third_party/cython/src/pylintrc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698