Oct-10-2018, 03:33 PM
After a week of pure hell and lot's of help I seem to have Cython and a compiler installed and working in Win 10.
I seem to have pyximport working now.
Setup.py does generate a .c file when I run it in IDLE now.
I have tried many variations of python setup.py build_ext --inplace to build the .so but I just can't get anything out of it.
Seems to be complaining about the directory.
I suck and power shell and I can get back to c: but that's about it. Python folder is buried deep and I don't even know how to get there.
Please god someone tell me there is an easier way to use build then to have to manually type through 15 folders in the CMD every time I want to use it.
I did hear there is something called easycython but I can't find anything in Google.
Hope someone can help. Thanks
UPDATE:
Hmm...I think I just got it working. file called cythonTestFunction.cp36-win32 and one called cythonTestFunction.pyx showed up. The wrapper program works now. I think it's working but I need help understanding the steps and maybe a shortcut to doing the build part. What does each file do etc?
I got it worked out now. Wrote a batch file to make building easier. If anyone needs help getting this running Windows maybe I can help. Cython has reduced by test function from 9.8 seconds to 0.0440 seconds. Amazing...
I seem to have pyximport working now.
Setup.py does generate a .c file when I run it in IDLE now.
I have tried many variations of python setup.py build_ext --inplace to build the .so but I just can't get anything out of it.
Seems to be complaining about the directory.
I suck and power shell and I can get back to c: but that's about it. Python folder is buried deep and I don't even know how to get there.
Please god someone tell me there is an easier way to use build then to have to manually type through 15 folders in the CMD every time I want to use it.
I did hear there is something called easycython but I can't find anything in Google.
Hope someone can help. Thanks
UPDATE:
Hmm...I think I just got it working. file called cythonTestFunction.cp36-win32 and one called cythonTestFunction.pyx showed up. The wrapper program works now. I think it's working but I need help understanding the steps and maybe a shortcut to doing the build part. What does each file do etc?
I got it worked out now. Wrote a batch file to make building easier. If anyone needs help getting this running Windows maybe I can help. Cython has reduced by test function from 9.8 seconds to 0.0440 seconds. Amazing...