Commit 3af10546 authored by Martín Gaitán's avatar Martín Gaitán

Revert "applying DRY on cython vs Cython"

This reverts commit dab5ac36.
parent 925e8326
...@@ -8,7 +8,7 @@ if __name__ == '__main__': ...@@ -8,7 +8,7 @@ if __name__ == '__main__':
import os import os
import sys import sys
# Make sure we import the right Cython # Make sure we import the right Cython
cythonpath, _ = os.path.split(os.path.realpath(__file__)) cythonpath, _ = os.path.split(os.path.realpath(__file__))
sys.path.insert(0, cythonpath) sys.path.insert(0, cythonpath)
...@@ -17,4 +17,7 @@ if __name__ == '__main__': ...@@ -17,4 +17,7 @@ if __name__ == '__main__':
main(command_line = 1) main(command_line = 1)
else: else:
from Cython import * # Void cython.* directives.
\ No newline at end of file from Cython.Shadow import *
## and bring in the __version__
from Cython import __version__
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment