Using below code i am able to convert *.py to *.pyd. And script editor are
also importing properly. Now tell me how to extract *.egg ? so that i can
use cython without
sys.path.append...Will do more test with PyQt/Pyside. I hope it will work
fine.
Thank you
import sys
sys.path.append("C:\Program
Files\Autodesk\Maya2017\Python\Lib\site-packages\Cython-0.27.3-py2.7-win-amd64.egg"
)
import cython
from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
setup(
cmdclass = {'build_ext': build_ext},
ext_modules = [
Extension("randomNumber", ["randomNumber.pyx"]),
Extension("additionNumber", ["additionNumber.pyx"]),
]
)
--
You received this message because you are subscribed to the Google Groups
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/e01ff811-0261-4925-8d6c-01594892067a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.