summaryrefslogtreecommitdiff
path: root/cython.py
diff options
context:
space:
mode:
authorMartín Gaitán <gaitan@gmail.com>2014-05-05 02:25:23 -0300
committerMartín Gaitán <gaitan@gmail.com>2014-05-05 02:25:23 -0300
commit3af10546833924ff4ddb4e911b4c52ccaf261dbc (patch)
tree5b749a13814fcd63b45609f8e9e32049d9ab3b2b /cython.py
parent925e832631e1270df3db5ef2707a94093ef53656 (diff)
downloadcython-3af10546833924ff4ddb4e911b4c52ccaf261dbc.tar.gz
Revert "applying DRY on cython vs Cython"
This reverts commit dab5ac36cf34005a85a42fed5f9045d777389472.
Diffstat (limited to 'cython.py')
-rwxr-xr-xcython.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/cython.py b/cython.py
index b196123c5..bcc2d8667 100755
--- a/cython.py
+++ b/cython.py
@@ -8,7 +8,7 @@ if __name__ == '__main__':
import os
import sys
-
+
# Make sure we import the right Cython
cythonpath, _ = os.path.split(os.path.realpath(__file__))
sys.path.insert(0, cythonpath)
@@ -17,4 +17,7 @@ if __name__ == '__main__':
main(command_line = 1)
else:
- from Cython import * \ No newline at end of file
+ # Void cython.* directives.
+ from Cython.Shadow import *
+ ## and bring in the __version__
+ from Cython import __version__