MayaPy Cython Import Error

467 views
Skip to first unread message

Ruchit Bhatt

unread,
Nov 30, 2017, 12:06:45 AM11/30/17
to Python Programming for Autodesk Maya
Hi,
How to convert python module to *.pyd using cython ?

I am using Maya 2017 Up 4, And in that i installed cython with below step
C:\Program Files\Autodesk\Maya2017\bin>mayapy ez_setup.py
C
:\Program Files\Autodesk\Maya2017\bin>mayapy get-pip.py
C
:\Program Files\Autodesk\Maya2017\Python\Scripts>pip install setuptools --upgrade
C
:\Program Files\Autodesk\Maya2017\Python\Scripts>pip install cython


After that i followed this link Hello Cython in Maya

Setup.py

  ]

Terminal Error



But works fine in script editor



So how to compile *.py to *.pyd for maya  and make a use in scriptEditor ?

Auto Generated Inline Image 1
Auto Generated Inline Image 2
Auto Generated Inline Image 3

Justin Israel

unread,
Nov 30, 2017, 12:23:44 AM11/30/17
to python_in...@googlegroups.com
On Thu, Nov 30, 2017 at 6:06 PM Ruchit Bhatt <ruchitinn...@gmail.com> wrote:
Hi,
How to convert python module to *.pyd using cython ?

I am using Maya 2017 Up 4, And in that i installed cython with below step
C:\Program Files\Autodesk\Maya2017\bin>mayapy ez_setup.py
C
:\Program Files\Autodesk\Maya2017\bin>mayapy get-pip.py
C
:\Program Files\Autodesk\Maya2017\Python\Scripts>pip install setuptools --upgrade
C
:\Program Files\Autodesk\Maya2017\Python\Scripts>pip install cython



It appears that it isn't finding cython in the PYTHONPATH when you are running mayapy. Can you manually confirm the install location of cython? Can you also try something like this (sorry if the syntax is wrong. I dont use windows):

mayapy -c "import cython; print cython"

Presumably if it could find cython on your PYTHONPATH, then it should compile an extension which could then be imported within Maya.
 
After that i followed this link Hello Cython in Maya

Setup.py

  Auto Generated Inline Image 1]

Terminal Error

Auto Generated Inline Image 2


But works fine in script editor

Auto Generated Inline Image 3


So how to compile *.py to *.pyd for maya  and make a use in scriptEditor ?

--
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 python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/c95137c2-5202-41a1-95d2-c7c1384f9a5e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ruchit Bhatt

unread,
Nov 30, 2017, 12:49:55 AM11/30/17
to Python Programming for Autodesk Maya


On Thursday, November 30, 2017 at 10:53:44 AM UTC+5:30, Justin Israel wrote:


It appears that it isn't finding cython in the PYTHONPATH when you are running mayapy. Can you manually confirm the install location of cython? Can you also try something like this (sorry if the syntax is wrong. I dont use windows):

mayapy -c "import cython; print cython"

Presumably if it could find cython on your PYTHONPATH, then it should compile an extension which could then be imported within Maya.
 












I think it's weird 

Justin Israel

unread,
Nov 30, 2017, 1:06:43 AM11/30/17
to python_in...@googlegroups.com
I should have also suggested you test importing Cython (title case) as that is what contains the compiler tools and seems to be failing. 

--
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 python_inside_m...@googlegroups.com.

Marcus Ottosson

unread,
Nov 30, 2017, 1:20:54 AM11/30/17
to python_in...@googlegroups.com
This to me looks like the Cython distributed via pip was compiled for a different version of Python than the one shipping with Maya. I think the reason you see the error in the terminal is because the command you ran makes use of the compiled component of Cython, whereas the import you made in Maya does not.

I suspect you'll need to do what any compiled library requires, which is to compile it yourself using the mayapy.

Ruchit Bhatt

unread,
Dec 1, 2017, 3:02:17 AM12/1/17
to Python Programming for Autodesk Maya
From...    https://pypi.python.org/pypi/Cython/   

i got source-code(Cython-0.27.3.tar.gz).
After that i tried to build for mayapy, And i got this error.



May be environment variable missing or something need to tweak in source ..Any idea how to fix this ??

Justin Israel

unread,
Dec 1, 2017, 3:19:03 AM12/1/17
to python_in...@googlegroups.com

It either means that you don't have a python dev version installed and the headers don't exist, or that they are in a place that can't be found and you need to specify them to distutils by setting certain environment variables.

As a side note can you avoid posting in screenshot form unless it's absolutely necessary? It'd hard to read wide text in these captures from mobile devices and also prevents copy paste. It's better suited for issues with graphical problems.


--
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 python_inside_m...@googlegroups.com.

Ruchit Bhatt

unread,
Dec 1, 2017, 12:45:00 PM12/1/17
to Python Programming for Autodesk Maya
Quick Hack

>>>For Include

       C:\Program Files\Autodesk\Maya2017\bin\python27.zip\distutils\sysconfig.py
       under get_python_inc function
    elif os.name == "nt":
       
return "C:/Program Files/Autodesk/Maya2017/include/python2.7/"

>>>For Lib
       made folder C:\Program Files\Autodesk\Maya2017\Python\libs and copied "python27.lib" in that

and then


D
:\Tech\Cython-0.27.3>"C:\Program Files\Autodesk\Maya2017\bin\mayapy" setup.py install


Unable to find pgen, not compiling formal grammar.
running install
install_dir C:\Program Files\Autodesk\Maya2017\Python\Lib\site-packages\
running bdist_egg
running egg_info
writing Cython.egg-info\PKG-INFO
writing top-level names to Cython.egg-info\top_level.txt
writing dependency_links to Cython.egg-info\dependency_links.txt
writing entry points to Cython.egg-info\entry_points.txt
reading manifest file 'Cython.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '2to3-fixers.txt'
warning: no files found matching 'Doc\*'
warning: no files found matching '*.pyx' under directory 'Cython\Debugger\Tests'
warning: no files found matching '*.pxd' under directory 'Cython\Debugger\Tests'
warning: no files found matching '*.pxd' under directory 'Cython\Utility'
writing manifest file 'Cython.egg-info\SOURCES.txt'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_py
running build_ext
creating build\bdist.win-amd64
creating build\bdist.win-amd64\egg
creating build\bdist.win-amd64\egg\Cython
creating build\bdist.win-amd64\egg\Cython\Build
copying build\lib.win-amd64-2.7\Cython\Build\BuildExecutable.py -> build\bdist.win-amd64\egg\Cython\Build
copying build\lib.win-amd64-2.7\Cython\Build\Cythonize.py -> build\bdist.win-amd64\egg\Cython\Build
copying build\lib.win-amd64-2.7\Cython\Build\Dependencies.py -> build\bdist.win-amd64\egg\Cython\Build
copying build\lib.win-amd64-2.7\Cython\Build\Distutils.py -> build\bdist.win-amd64\egg\Cython\Build
copying build\lib.win-amd64-2.7\Cython\Build\Inline.py -> build\bdist.win-amd64\egg\Cython\Build
copying build\lib.win-amd64-2.7\Cython\Build\IpythonMagic.py -> build\bdist.win-amd64\egg\Cython\Build
creating build\bdist.win-amd64\egg\Cython\Build\Tests
copying build\lib.win-amd64-2.7\Cython\Build\Tests\TestInline.py -> build\bdist.win-amd64\egg\Cython\Build\Tests
copying build\lib.win-amd64-2.7\Cython\Build\Tests\TestIpythonMagic.py -> build\bdist.win-amd64\egg\Cython\Build\Tests
copying build\lib.win-amd64-2.7\Cython\Build\Tests\TestStripLiterals.py -> build\bdist.win-amd64\egg\Cython\Build\Tests
copying build\lib.win-amd64-2.7\Cython\Build\Tests\__init__.py -> build\bdist.win-amd64\egg\Cython\Build\Tests
copying build\lib.win-amd64-2.7\Cython\Build\__init__.py -> build\bdist.win-amd64\egg\Cython\Build
copying build\lib.win-amd64-2.7\Cython\CodeWriter.py -> build\bdist.win-amd64\egg\Cython
creating build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\AnalysedTreeTransforms.py -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\Annotate.py -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\AutoDocTransforms.py -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\Buffer.py -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\Builtin.py -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\CmdLine.py -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\Code.pxd -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\Code.py -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\Code.pyd -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\CodeGeneration.py -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\CythonScope.py -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\DebugFlags.py -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\Errors.py -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\ExprNodes.py -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\FlowControl.pxd -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\FlowControl.py -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\FlowControl.pyd -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\FusedNode.py -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\Future.py -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\Interpreter.py -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\Lexicon.py -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\Lexicon.pyd -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\Main.py -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\MemoryView.py -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\ModuleNode.py -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\Naming.py -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\Nodes.py -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\Optimize.py -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\Options.py -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\ParseTreeTransforms.pxd -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\ParseTreeTransforms.py -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\Parsing.pxd -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\Parsing.py -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\Parsing.pyd -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\Pipeline.py -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\PyrexTypes.py -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\Pythran.py -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\Pythran.pyd -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\Scanning.pxd -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\Scanning.py -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\Scanning.pyd -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\StringEncoding.py -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\Symtab.py -> build\bdist.win-amd64\egg\Cython\Compiler
creating build\bdist.win-amd64\egg\Cython\Compiler\Tests
copying build\lib.win-amd64-2.7\Cython\Compiler\Tests\TestBuffer.py -> build\bdist.win-amd64\egg\Cython\Compiler\Tests
copying build\lib.win-amd64-2.7\Cython\Compiler\Tests\TestCmdLine.py -> build\bdist.win-amd64\egg\Cython\Compiler\Tests
copying build\lib.win-amd64-2.7\Cython\Compiler\Tests\TestFlowControl.py -> build\bdist.win-amd64\egg\Cython\Compiler\Tests
copying build\lib.win-amd64-2.7\Cython\Compiler\Tests\TestGrammar.py -> build\bdist.win-amd64\egg\Cython\Compiler\Tests
copying build\lib.win-amd64-2.7\Cython\Compiler\Tests\TestMemView.py -> build\bdist.win-amd64\egg\Cython\Compiler\Tests
copying build\lib.win-amd64-2.7\Cython\Compiler\Tests\TestParseTreeTransforms.py -> build\bdist.win-amd64\egg\Cython\Compiler\Tests
copying build\lib.win-amd64-2.7\Cython\Compiler\Tests\TestSignatureMatching.py -> build\bdist.win-amd64\egg\Cython\Compiler\Tests
copying build\lib.win-amd64-2.7\Cython\Compiler\Tests\TestTreeFragment.py -> build\bdist.win-amd64\egg\Cython\Compiler\Tests
copying build\lib.win-amd64-2.7\Cython\Compiler\Tests\TestTreePath.py -> build\bdist.win-amd64\egg\Cython\Compiler\Tests
copying build\lib.win-amd64-2.7\Cython\Compiler\Tests\TestTypes.py -> build\bdist.win-amd64\egg\Cython\Compiler\Tests
copying build\lib.win-amd64-2.7\Cython\Compiler\Tests\TestUtilityLoad.py -> build\bdist.win-amd64\egg\Cython\Compiler\Tests
copying build\lib.win-amd64-2.7\Cython\Compiler\Tests\TestVisitor.py -> build\bdist.win-amd64\egg\Cython\Compiler\Tests
copying build\lib.win-amd64-2.7\Cython\Compiler\Tests\__init__.py -> build\bdist.win-amd64\egg\Cython\Compiler\Tests
copying build\lib.win-amd64-2.7\Cython\Compiler\TreeFragment.py -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\TreePath.py -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\TypeInference.py -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\TypeSlots.py -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\UtilityCode.py -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\UtilNodes.py -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\Version.py -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\Visitor.pxd -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\Visitor.py -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\Visitor.pyd -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Compiler\__init__.py -> build\bdist.win-amd64\egg\Cython\Compiler
copying build\lib.win-amd64-2.7\Cython\Coverage.py -> build\bdist.win-amd64\egg\Cython
creating build\bdist.win-amd64\egg\Cython\Debugger
copying build\lib.win-amd64-2.7\Cython\Debugger\Cygdb.py -> build\bdist.win-amd64\egg\Cython\Debugger
copying build\lib.win-amd64-2.7\Cython\Debugger\DebugWriter.py -> build\bdist.win-amd64\egg\Cython\Debugger
copying build\lib.win-amd64-2.7\Cython\Debugger\libcython.py -> build\bdist.win-amd64\egg\Cython\Debugger
copying build\lib.win-amd64-2.7\Cython\Debugger\libpython.py -> build\bdist.win-amd64\egg\Cython\Debugger
creating build\bdist.win-amd64\egg\Cython\Debugger\Tests
copying build\lib.win-amd64-2.7\Cython\Debugger\Tests\cfuncs.c -> build\bdist.win-amd64\egg\Cython\Debugger\Tests
copying build\lib.win-amd64-2.7\Cython\Debugger\Tests\codefile -> build\bdist.win-amd64\egg\Cython\Debugger\Tests
copying build\lib.win-amd64-2.7\Cython\Debugger\Tests\TestLibCython.py -> build\bdist.win-amd64\egg\Cython\Debugger\Tests
copying build\lib.win-amd64-2.7\Cython\Debugger\Tests\test_libcython_in_gdb.py -> build\bdist.win-amd64\egg\Cython\Debugger\Tests
copying build\lib.win-amd64-2.7\Cython\Debugger\Tests\test_libpython_in_gdb.py -> build\bdist.win-amd64\egg\Cython\Debugger\Tests
copying build\lib.win-amd64-2.7\Cython\Debugger\Tests\__init__.py -> build\bdist.win-amd64\egg\Cython\Debugger\Tests
copying build\lib.win-amd64-2.7\Cython\Debugger\__init__.py -> build\bdist.win-amd64\egg\Cython\Debugger
copying build\lib.win-amd64-2.7\Cython\Debugging.py -> build\bdist.win-amd64\egg\Cython
creating build\bdist.win-amd64\egg\Cython\Distutils
copying build\lib.win-amd64-2.7\Cython\Distutils\build_ext.py -> build\bdist.win-amd64\egg\Cython\Distutils
copying build\lib.win-amd64-2.7\Cython\Distutils\extension.py -> build\bdist.win-amd64\egg\Cython\Distutils
copying build\lib.win-amd64-2.7\Cython\Distutils\old_build_ext.py -> build\bdist.win-amd64\egg\Cython\Distutils
copying build\lib.win-amd64-2.7\Cython\Distutils\__init__.py -> build\bdist.win-amd64\egg\Cython\Distutils
creating build\bdist.win-amd64\egg\Cython\Includes
creating build\bdist.win-amd64\egg\Cython\Includes\cpython
copying build\lib.win-amd64-2.7\Cython\Includes\cpython\array.pxd -> build\bdist.win-amd64\egg\Cython\Includes\cpython
copying build\lib.win-amd64-2.7\Cython\Includes\cpython\bool.pxd -> build\bdist.win-amd64\egg\Cython\Includes\cpython
copying build\lib.win-amd64-2.7\Cython\Includes\cpython\buffer.pxd -> build\bdist.win-amd64\egg\Cython\Includes\cpython
copying build\lib.win-amd64-2.7\Cython\Includes\cpython\bytes.pxd -> build\bdist.win-amd64\egg\Cython\Includes\cpython
copying build\lib.win-amd64-2.7\Cython\Includes\cpython\cobject.pxd -> build\bdist.win-amd64\egg\Cython\Includes\cpython
copying build\lib.win-amd64-2.7\Cython\Includes\cpython\complex.pxd -> build\bdist.win-amd64\egg\Cython\Includes\cpython
copying build\lib.win-amd64-2.7\Cython\Includes\cpython\datetime.pxd -> build\bdist.win-amd64\egg\Cython\Includes\cpython
copying build\lib.win-amd64-2.7\Cython\Includes\cpython\dict.pxd -> build\bdist.win-amd64\egg\Cython\Includes\cpython
copying build\lib.win-amd64-2.7\Cython\Includes\cpython\exc.pxd -> build\bdist.win-amd64\egg\Cython\Includes\cpython
copying build\lib.win-amd64-2.7\Cython\Includes\cpython\float.pxd -> build\bdist.win-amd64\egg\Cython\Includes\cpython
copying build\lib.win-amd64-2.7\Cython\Includes\cpython\function.pxd -> build\bdist.win-amd64\egg\Cython\Includes\cpython
copying build\lib.win-amd64-2.7\Cython\Includes\cpython\getargs.pxd -> build\bdist.win-amd64\egg\Cython\Includes\cpython
copying build\lib.win-amd64-2.7\Cython\Includes\cpython\instance.pxd -> build\bdist.win-amd64\egg\Cython\Includes\cpython
copying build\lib.win-amd64-2.7\Cython\Includes\cpython\int.pxd -> build\bdist.win-amd64\egg\Cython\Includes\cpython
copying build\lib.win-amd64-2.7\Cython\Includes\cpython\iterator.pxd -> build\bdist.win-amd64\egg\Cython\Includes\cpython
copying build\lib.win-amd64-2.7\Cython\Includes\cpython\list.pxd -> build\bdist.win-amd64\egg\Cython\Includes\cpython
copying build\lib.win-amd64-2.7\Cython\Includes\cpython\long.pxd -> build\bdist.win-amd64\egg\Cython\Includes\cpython
copying build\lib.win-amd64-2.7\Cython\Includes\cpython\longintrepr.pxd -> build\bdist.win-amd64\egg\Cython\Includes\cpython
copying build\lib.win-amd64-2.7\Cython\Includes\cpython\mapping.pxd -> build\bdist.win-amd64\egg\Cython\Includes\cpython
copying build\lib.win-amd64-2.7\Cython\Includes\cpython\mem.pxd -> build\bdist.win-amd64\egg\Cython\Includes\cpython
copying build\lib.win-amd64-2.7\Cython\Includes\cpython\method.pxd -> build\bdist.win-amd64\egg\Cython\Includes\cpython
copying build\lib.win-amd64-2.7\Cython\Includes\cpython\module.pxd -> build\bdist.win-amd64\egg\Cython\Includes\cpython
copying build\lib.win-amd64-2.7\Cython\Includes\cpython\number.pxd -> build\bdist.win-amd64\egg\Cython\Includes\cpython
copying build\lib.win-amd64-2.7\Cython\Includes\cpython\object.pxd -> build\bdist.win-amd64\egg\Cython\Includes\cpython
copying build\lib.win-amd64-2.7\Cython\Includes\cpython\oldbuffer.pxd -> build\bdist.win-amd64\egg\Cython\Includes\cpython
copying build\lib.win-amd64-2.7\Cython\Includes\cpython\pycapsule.pxd -> build\bdist.win-amd64\egg\Cython\Includes\cpython
copying build\lib.win-amd64-2.7\Cython\Includes\cpython\pystate.pxd -> build\bdist.win-amd64\egg\Cython\Includes\cpython
copying build\lib.win-amd64-2.7\Cython\Includes\cpython\pythread.pxd -> build\bdist.win-amd64\egg\Cython\Includes\cpython
copying build\lib.win-amd64-2.7\Cython\Includes\cpython\ref.pxd -> build\bdist.win-amd64\egg\Cython\Includes\cpython
copying build\lib.win-amd64-2.7\Cython\Includes\cpython\sequence.pxd -> build\bdist.win-amd64\egg\Cython\Includes\cpython
copying build\lib.win-amd64-2.7\Cython\Includes\cpython\set.pxd -> build\bdist.win-amd64\egg\Cython\Includes\cpython
copying build\lib.win-amd64-2.7\Cython\Includes\cpython\slice.pxd -> build\bdist.win-amd64\egg\Cython\Includes\cpython
copying build\lib.win-amd64-2.7\Cython\Includes\cpython\string.pxd -> build\bdist.win-amd64\egg\Cython\Includes\cpython
copying build\lib.win-amd64-2.7\Cython\Includes\cpython\tuple.pxd -> build\bdist.win-amd64\egg\Cython\Includes\cpython
copying build\lib.win-amd64-2.7\Cython\Includes\cpython\type.pxd -> build\bdist.win-amd64\egg\Cython\Includes\cpython
copying build\lib.win-amd64-2.7\Cython\Includes\cpython\unicode.pxd -> build\bdist.win-amd64\egg\Cython\Includes\cpython
copying build\lib.win-amd64-2.7\Cython\Includes\cpython\version.pxd -> build\bdist.win-amd64\egg\Cython\Includes\cpython
copying build\lib.win-amd64-2.7\Cython\Includes\cpython\weakref.pxd -> build\bdist.win-amd64\egg\Cython\Includes\cpython
copying build\lib.win-amd64-2.7\Cython\Includes\cpython\__init__.pxd -> build\bdist.win-amd64\egg\Cython\Includes\cpython
creating build\bdist.win-amd64\egg\Cython\Includes\Deprecated
copying build\lib.win-amd64-2.7\Cython\Includes\Deprecated\python.pxd -> build\bdist.win-amd64\egg\Cython\Includes\Deprecated
copying build\lib.win-amd64-2.7\Cython\Includes\Deprecated\python2.5.pxd -> build\bdist.win-amd64\egg\Cython\Includes\Deprecated
copying build\lib.win-amd64-2.7\Cython\Includes\Deprecated\python_bool.pxd -> build\bdist.win-amd64\egg\Cython\Includes\Deprecated
copying build\lib.win-amd64-2.7\Cython\Includes\Deprecated\python_buffer.pxd -> build\bdist.win-amd64\egg\Cython\Includes\Deprecated
copying build\lib.win-amd64-2.7\Cython\Includes\Deprecated\python_bytes.pxd -> build\bdist.win-amd64\egg\Cython\Includes\Deprecated
copying build\lib.win-amd64-2.7\Cython\Includes\Deprecated\python_cobject.pxd -> build\bdist.win-amd64\egg\Cython\Includes\Deprecated
copying build\lib.win-amd64-2.7\Cython\Includes\Deprecated\python_complex.pxd -> build\bdist.win-amd64\egg\Cython\Includes\Deprecated
copying build\lib.win-amd64-2.7\Cython\Includes\Deprecated\python_dict.pxd -> build\bdist.win-amd64\egg\Cython\Includes\Deprecated
copying build\lib.win-amd64-2.7\Cython\Includes\Deprecated\python_exc.pxd -> build\bdist.win-amd64\egg\Cython\Includes\Deprecated
copying build\lib.win-amd64-2.7\Cython\Includes\Deprecated\python_float.pxd -> build\bdist.win-amd64\egg\Cython\Includes\Deprecated
copying build\lib.win-amd64-2.7\Cython\Includes\Deprecated\python_function.pxd -> build\bdist.win-amd64\egg\Cython\Includes\Deprecated
copying build\lib.win-amd64-2.7\Cython\Includes\Deprecated\python_getargs.pxd -> build\bdist.win-amd64\egg\Cython\Includes\Deprecated
copying build\lib.win-amd64-2.7\Cython\Includes\Deprecated\python_instance.pxd -> build\bdist.win-amd64\egg\Cython\Includes\Deprecated
copying build\lib.win-amd64-2.7\Cython\Includes\Deprecated\python_int.pxd -> build\bdist.win-amd64\egg\Cython\Includes\Deprecated
copying build\lib.win-amd64-2.7\Cython\Includes\Deprecated\python_iterator.pxd -> build\bdist.win-amd64\egg\Cython\Includes\Deprecated
copying build\lib.win-amd64-2.7\Cython\Includes\Deprecated\python_list.pxd -> build\bdist.win-amd64\egg\Cython\Includes\Deprecated
copying build\lib.win-amd64-2.7\Cython\Includes\Deprecated\python_long.pxd -> build\bdist.win-amd64\egg\Cython\Includes\Deprecated
copying build\lib.win-amd64-2.7\Cython\Includes\Deprecated\python_mapping.pxd -> build\bdist.win-amd64\egg\Cython\Includes\Deprecated
copying build\lib.win-amd64-2.7\Cython\Includes\Deprecated\python_mem.pxd -> build\bdist.win-amd64\egg\Cython\Includes\Deprecated
copying build\lib.win-amd64-2.7\Cython\Includes\Deprecated\python_method.pxd -> build\bdist.win-amd64\egg\Cython\Includes\Deprecated
copying build\lib.win-amd64-2.7\Cython\Includes\Deprecated\python_module.pxd -> build\bdist.win-amd64\egg\Cython\Includes\Deprecated
copying build\lib.win-amd64-2.7\Cython\Includes\Deprecated\python_number.pxd -> build\bdist.win-amd64\egg\Cython\Includes\Deprecated
copying build\lib.win-amd64-2.7\Cython\Includes\Deprecated\python_object.pxd -> build\bdist.win-amd64\egg\Cython\Includes\Deprecated
copying build\lib.win-amd64-2.7\Cython\Includes\Deprecated\python_oldbuffer.pxd -> build\bdist.win-amd64\egg\Cython\Includes\Deprecated
copying build\lib.win-amd64-2.7\Cython\Includes\Deprecated\python_pycapsule.pxd -> build\bdist.win-amd64\egg\Cython\Includes\Deprecated
copying build\lib.win-amd64-2.7\Cython\Includes\Deprecated\python_ref.pxd -> build\bdist.win-amd64\egg\Cython\Includes\Deprecated
copying build\lib.win-amd64-2.7\Cython\Includes\Deprecated\python_sequence.pxd -> build\bdist.win-amd64\egg\Cython\Includes\Deprecated
copying build\lib.win-amd64-2.7\Cython\Includes\Deprecated\python_set.pxd -> build\bdist.win-amd64\egg\Cython\Includes\Deprecated
copying build\lib.win-amd64-2.7\Cython\Includes\Deprecated\python_string.pxd -> build\bdist.win-amd64\egg\Cython\Includes\Deprecated
copying build\lib.win-amd64-2.7\Cython\Includes\Deprecated\python_tuple.pxd -> build\bdist.win-amd64\egg\Cython\Includes\Deprecated
copying build\lib.win-amd64-2.7\Cython\Includes\Deprecated\python_type.pxd -> build\bdist.win-amd64\egg\Cython\Includes\Deprecated
copying build\lib.win-amd64-2.7\Cython\Includes\Deprecated\python_unicode.pxd -> build\bdist.win-amd64\egg\Cython\Includes\Deprecated
copying build\lib.win-amd64-2.7\Cython\Includes\Deprecated\python_version.pxd -> build\bdist.win-amd64\egg\Cython\Includes\Deprecated
copying build\lib.win-amd64-2.7\Cython\Includes\Deprecated\python_weakref.pxd -> build\bdist.win-amd64\egg\Cython\Includes\Deprecated
copying build\lib.win-amd64-2.7\Cython\Includes\Deprecated\stdio.pxd -> build\bdist.win-amd64\egg\Cython\Includes\Deprecated
copying build\lib.win-amd64-2.7\Cython\Includes\Deprecated\stdlib.pxd -> build\bdist.win-amd64\egg\Cython\Includes\Deprecated
copying build\lib.win-amd64-2.7\Cython\Includes\Deprecated\stl.pxd -> build\bdist.win-amd64\egg\Cython\Includes\Deprecated
creating build\bdist.win-amd64\egg\Cython\Includes\libc
copying build\lib.win-amd64-2.7\Cython\Includes\libc\errno.pxd -> build\bdist.win-amd64\egg\Cython\Includes\libc
copying build\lib.win-amd64-2.7\Cython\Includes\libc\float.pxd -> build\bdist.win-amd64\egg\Cython\Includes\libc
copying build\lib.win-amd64-2.7\Cython\Includes\libc\limits.pxd -> build\bdist.win-amd64\egg\Cython\Includes\libc
copying build\lib.win-amd64-2.7\Cython\Includes\libc\locale.pxd -> build\bdist.win-amd64\egg\Cython\Includes\libc
copying build\lib.win-amd64-2.7\Cython\Includes\libc\math.pxd -> build\bdist.win-amd64\egg\Cython\Includes\libc
copying build\lib.win-amd64-2.7\Cython\Includes\libc\setjmp.pxd -> build\bdist.win-amd64\egg\Cython\Includes\libc
copying build\lib.win-amd64-2.7\Cython\Includes\libc\signal.pxd -> build\bdist.win-amd64\egg\Cython\Includes\libc
copying build\lib.win-amd64-2.7\Cython\Includes\libc\stddef.pxd -> build\bdist.win-amd64\egg\Cython\Includes\libc
copying build\lib.win-amd64-2.7\Cython\Includes\libc\stdint.pxd -> build\bdist.win-amd64\egg\Cython\Includes\libc
copying build\lib.win-amd64-2.7\Cython\Includes\libc\stdio.pxd -> build\bdist.win-amd64\egg\Cython\Includes\libc
copying build\lib.win-amd64-2.7\Cython\Includes\libc\stdlib.pxd -> build\bdist.win-amd64\egg\Cython\Includes\libc
copying build\lib.win-amd64-2.7\Cython\Includes\libc\string.pxd -> build\bdist.win-amd64\egg\Cython\Includes\libc
copying build\lib.win-amd64-2.7\Cython\Includes\libc\time.pxd -> build\bdist.win-amd64\egg\Cython\Includes\libc
copying build\lib.win-amd64-2.7\Cython\Includes\libc\__init__.pxd -> build\bdist.win-amd64\egg\Cython\Includes\libc
creating build\bdist.win-amd64\egg\Cython\Includes\libcpp
copying build\lib.win-amd64-2.7\Cython\Includes\libcpp\algorithm.pxd -> build\bdist.win-amd64\egg\Cython\Includes\libcpp
copying build\lib.win-amd64-2.7\Cython\Includes\libcpp\cast.pxd -> build\bdist.win-amd64\egg\Cython\Includes\libcpp
copying build\lib.win-amd64-2.7\Cython\Includes\libcpp\complex.pxd -> build\bdist.win-amd64\egg\Cython\Includes\libcpp
copying build\lib.win-amd64-2.7\Cython\Includes\libcpp\deque.pxd -> build\bdist.win-amd64\egg\Cython\Includes\libcpp
copying build\lib.win-amd64-2.7\Cython\Includes\libcpp\functional.pxd -> build\bdist.win-amd64\egg\Cython\Includes\libcpp
copying build\lib.win-amd64-2.7\Cython\Includes\libcpp\iterator.pxd -> build\bdist.win-amd64\egg\Cython\Includes\libcpp
copying build\lib.win-amd64-2.7\Cython\Includes\libcpp\limits.pxd -> build\bdist.win-amd64\egg\Cython\Includes\libcpp
copying build\lib.win-amd64-2.7\Cython\Includes\libcpp\list.pxd -> build\bdist.win-amd64\egg\Cython\Includes\libcpp
copying build\lib.win-amd64-2.7\Cython\Includes\libcpp\map.pxd -> build\bdist.win-amd64\egg\Cython\Includes\libcpp
copying build\lib.win-amd64-2.7\Cython\Includes\libcpp\memory.pxd -> build\bdist.win-amd64\egg\Cython\Includes\libcpp
copying build\lib.win-amd64-2.7\Cython\Includes\libcpp\pair.pxd -> build\bdist.win-amd64\egg\Cython\Includes\libcpp
copying build\lib.win-amd64-2.7\Cython\Includes\libcpp\queue.pxd -> build\bdist.win-amd64\egg\Cython\Includes\libcpp
copying build\lib.win-amd64-2.7\Cython\Includes\libcpp\set.pxd -> build\bdist.win-amd64\egg\Cython\Includes\libcpp
copying build\lib.win-amd64-2.7\Cython\Includes\libcpp\stack.pxd -> build\bdist.win-amd64\egg\Cython\Includes\libcpp
copying build\lib.win-amd64-2.7\Cython\Includes\libcpp\string.pxd -> build\bdist.win-amd64\egg\Cython\Includes\libcpp
copying build\lib.win-amd64-2.7\Cython\Includes\libcpp\typeindex.pxd -> build\bdist.win-amd64\egg\Cython\Includes\libcpp
copying build\lib.win-amd64-2.7\Cython\Includes\libcpp\typeinfo.pxd -> build\bdist.win-amd64\egg\Cython\Includes\libcpp
copying build\lib.win-amd64-2.7\Cython\Includes\libcpp\unordered_map.pxd -> build\bdist.win-amd64\egg\Cython\Includes\libcpp
copying build\lib.win-amd64-2.7\Cython\Includes\libcpp\unordered_set.pxd -> build\bdist.win-amd64\egg\Cython\Includes\libcpp
copying build\lib.win-amd64-2.7\Cython\Includes\libcpp\utility.pxd -> build\bdist.win-amd64\egg\Cython\Includes\libcpp
copying build\lib.win-amd64-2.7\Cython\Includes\libcpp\vector.pxd -> build\bdist.win-amd64\egg\Cython\Includes\libcpp
copying build\lib.win-amd64-2.7\Cython\Includes\libcpp\__init__.pxd -> build\bdist.win-amd64\egg\Cython\Includes\libcpp
creating build\bdist.win-amd64\egg\Cython\Includes\numpy
copying build\lib.win-amd64-2.7\Cython\Includes\numpy\math.pxd -> build\bdist.win-amd64\egg\Cython\Includes\numpy
copying build\lib.win-amd64-2.7\Cython\Includes\numpy\__init__.pxd -> build\bdist.win-amd64\egg\Cython\Includes\numpy
copying build\lib.win-amd64-2.7\Cython\Includes\openmp.pxd -> build\bdist.win-amd64\egg\Cython\Includes
creating build\bdist.win-amd64\egg\Cython\Includes\posix
copying build\lib.win-amd64-2.7\Cython\Includes\posix\dlfcn.pxd -> build\bdist.win-amd64\egg\Cython\Includes\posix
copying build\lib.win-amd64-2.7\Cython\Includes\posix\fcntl.pxd -> build\bdist.win-amd64\egg\Cython\Includes\posix
copying build\lib.win-amd64-2.7\Cython\Includes\posix\ioctl.pxd -> build\bdist.win-amd64\egg\Cython\Includes\posix
copying build\lib.win-amd64-2.7\Cython\Includes\posix\mman.pxd -> build\bdist.win-amd64\egg\Cython\Includes\posix
copying build\lib.win-amd64-2.7\Cython\Includes\posix\resource.pxd -> build\bdist.win-amd64\egg\Cython\Includes\posix
copying build\lib.win-amd64-2.7\Cython\Includes\posix\select.pxd -> build\bdist.win-amd64\egg\Cython\Includes\posix
copying build\lib.win-amd64-2.7\Cython\Includes\posix\signal.pxd -> build\bdist.win-amd64\egg\Cython\Includes\posix
copying build\lib.win-amd64-2.7\Cython\Includes\posix\stat.pxd -> build\bdist.win-amd64\egg\Cython\Includes\posix
copying build\lib.win-amd64-2.7\Cython\Includes\posix\stdio.pxd -> build\bdist.win-amd64\egg\Cython\Includes\posix
copying build\lib.win-amd64-2.7\Cython\Includes\posix\stdlib.pxd -> build\bdist.win-amd64\egg\Cython\Includes\posix
copying build\lib.win-amd64-2.7\Cython\Includes\posix\strings.pxd -> build\bdist.win-amd64\egg\Cython\Includes\posix
copying build\lib.win-amd64-2.7\Cython\Includes\posix\time.pxd -> build\bdist.win-amd64\egg\Cython\Includes\posix
copying build\lib.win-amd64-2.7\Cython\Includes\posix\types.pxd -> build\bdist.win-amd64\egg\Cython\Includes\posix
copying build\lib.win-amd64-2.7\Cython\Includes\posix\unistd.pxd -> build\bdist.win-amd64\egg\Cython\Includes\posix
copying build\lib.win-amd64-2.7\Cython\Includes\posix\wait.pxd -> build\bdist.win-amd64\egg\Cython\Includes\posix
copying build\lib.win-amd64-2.7\Cython\Includes\posix\__init__.pxd -> build\bdist.win-amd64\egg\Cython\Includes\posix
creating build\bdist.win-amd64\egg\Cython\Plex
copying build\lib.win-amd64-2.7\Cython\Plex\Actions.pxd -> build\bdist.win-amd64\egg\Cython\Plex
copying build\lib.win-amd64-2.7\Cython\Plex\Actions.py -> build\bdist.win-amd64\egg\Cython\Plex
copying build\lib.win-amd64-2.7\Cython\Plex\Actions.pyd -> build\bdist.win-amd64\egg\Cython\Plex
copying build\lib.win-amd64-2.7\Cython\Plex\DFA.py -> build\bdist.win-amd64\egg\Cython\Plex
copying build\lib.win-amd64-2.7\Cython\Plex\Errors.py -> build\bdist.win-amd64\egg\Cython\Plex
copying build\lib.win-amd64-2.7\Cython\Plex\Lexicons.py -> build\bdist.win-amd64\egg\Cython\Plex
copying build\lib.win-amd64-2.7\Cython\Plex\Machines.py -> build\bdist.win-amd64\egg\Cython\Plex
copying build\lib.win-amd64-2.7\Cython\Plex\Regexps.py -> build\bdist.win-amd64\egg\Cython\Plex
copying build\lib.win-amd64-2.7\Cython\Plex\Scanners.pxd -> build\bdist.win-amd64\egg\Cython\Plex
copying build\lib.win-amd64-2.7\Cython\Plex\Scanners.py -> build\bdist.win-amd64\egg\Cython\Plex
copying build\lib.win-amd64-2.7\Cython\Plex\Scanners.pyd -> build\bdist.win-amd64\egg\Cython\Plex
copying build\lib.win-amd64-2.7\Cython\Plex\Timing.py -> build\bdist.win-amd64\egg\Cython\Plex
copying build\lib.win-amd64-2.7\Cython\Plex\Traditional.py -> build\bdist.win-amd64\egg\Cython\Plex
copying build\lib.win-amd64-2.7\Cython\Plex\Transitions.py -> build\bdist.win-amd64\egg\Cython\Plex
copying build\lib.win-amd64-2.7\Cython\Plex\__init__.py -> build\bdist.win-amd64\egg\Cython\Plex
creating build\bdist.win-amd64\egg\Cython\Runtime
copying build\lib.win-amd64-2.7\Cython\Runtime\refnanny.pyd -> build\bdist.win-amd64\egg\Cython\Runtime
copying build\lib.win-amd64-2.7\Cython\Runtime\refnanny.pyx -> build\bdist.win-amd64\egg\Cython\Runtime
copying build\lib.win-amd64-2.7\Cython\Runtime\__init__.py -> build\bdist.win-amd64\egg\Cython\Runtime
copying build\lib.win-amd64-2.7\Cython\Shadow.py -> build\bdist.win-amd64\egg\Cython
copying build\lib.win-amd64-2.7\Cython\StringIOTree.py -> build\bdist.win-amd64\egg\Cython
creating build\bdist.win-amd64\egg\Cython\Tempita
copying build\lib.win-amd64-2.7\Cython\Tempita\compat3.py -> build\bdist.win-amd64\egg\Cython\Tempita
copying build\lib.win-amd64-2.7\Cython\Tempita\_looper.py -> build\bdist.win-amd64\egg\Cython\Tempita
copying build\lib.win-amd64-2.7\Cython\Tempita\_tempita.py -> build\bdist.win-amd64\egg\Cython\Tempita
copying build\lib.win-amd64-2.7\Cython\Tempita\_tempita.pyd -> build\bdist.win-amd64\egg\Cython\Tempita
copying build\lib.win-amd64-2.7\Cython\Tempita\__init__.py -> build\bdist.win-amd64\egg\Cython\Tempita
creating build\bdist.win-amd64\egg\Cython\Tests
copying build\lib.win-amd64-2.7\Cython\Tests\TestCodeWriter.py -> build\bdist.win-amd64\egg\Cython\Tests
copying build\lib.win-amd64-2.7\Cython\Tests\TestJediTyper.py -> build\bdist.win-amd64\egg\Cython\Tests
copying build\lib.win-amd64-2.7\Cython\Tests\TestStringIOTree.py -> build\bdist.win-amd64\egg\Cython\Tests
copying build\lib.win-amd64-2.7\Cython\Tests\xmlrunner.py -> build\bdist.win-amd64\egg\Cython\Tests
copying build\lib.win-amd64-2.7\Cython\Tests\__init__.py -> build\bdist.win-amd64\egg\Cython\Tests
copying build\lib.win-amd64-2.7\Cython\TestUtils.py -> build\bdist.win-amd64\egg\Cython
creating build\bdist.win-amd64\egg\Cython\Utility
copying build\lib.win-amd64-2.7\Cython\Utility\arrayarray.h -> build\bdist.win-amd64\egg\Cython\Utility
copying build\lib.win-amd64-2.7\Cython\Utility\AsyncGen.c -> build\bdist.win-amd64\egg\Cython\Utility
copying build\lib.win-amd64-2.7\Cython\Utility\Buffer.c -> build\bdist.win-amd64\egg\Cython\Utility
copying build\lib.win-amd64-2.7\Cython\Utility\Builtins.c -> build\bdist.win-amd64\egg\Cython\Utility
copying build\lib.win-amd64-2.7\Cython\Utility\Capsule.c -> build\bdist.win-amd64\egg\Cython\Utility
copying build\lib.win-amd64-2.7\Cython\Utility\CConvert.pyx -> build\bdist.win-amd64\egg\Cython\Utility
copying build\lib.win-amd64-2.7\Cython\Utility\CMath.c -> build\bdist.win-amd64\egg\Cython\Utility
copying build\lib.win-amd64-2.7\Cython\Utility\CommonStructures.c -> build\bdist.win-amd64\egg\Cython\Utility
copying build\lib.win-amd64-2.7\Cython\Utility\Complex.c -> build\bdist.win-amd64\egg\Cython\Utility
copying build\lib.win-amd64-2.7\Cython\Utility\Coroutine.c -> build\bdist.win-amd64\egg\Cython\Utility
copying build\lib.win-amd64-2.7\Cython\Utility\CpdefEnums.pyx -> build\bdist.win-amd64\egg\Cython\Utility
copying build\lib.win-amd64-2.7\Cython\Utility\CppConvert.pyx -> build\bdist.win-amd64\egg\Cython\Utility
copying build\lib.win-amd64-2.7\Cython\Utility\CppSupport.cpp -> build\bdist.win-amd64\egg\Cython\Utility
copying build\lib.win-amd64-2.7\Cython\Utility\CythonFunction.c -> build\bdist.win-amd64\egg\Cython\Utility
copying build\lib.win-amd64-2.7\Cython\Utility\Embed.c -> build\bdist.win-amd64\egg\Cython\Utility
copying build\lib.win-amd64-2.7\Cython\Utility\Exceptions.c -> build\bdist.win-amd64\egg\Cython\Utility
copying build\lib.win-amd64-2.7\Cython\Utility\ExtensionTypes.c -> build\bdist.win-amd64\egg\Cython\Utility
copying build\lib.win-amd64-2.7\Cython\Utility\FunctionArguments.c -> build\bdist.win-amd64\egg\Cython\Utility
copying build\lib.win-amd64-2.7\Cython\Utility\ImportExport.c -> build\bdist.win-amd64\egg\Cython\Utility
copying build\lib.win-amd64-2.7\Cython\Utility\MemoryView.pyx -> build\bdist.win-amd64\egg\Cython\Utility
copying build\lib.win-amd64-2.7\Cython\Utility\MemoryView_C.c -> build\bdist.win-amd64\egg\Cython\Utility
copying build\lib.win-amd64-2.7\Cython\Utility\ModuleSetupCode.c -> build\bdist.win-amd64\egg\Cython\Utility
copying build\lib.win-amd64-2.7\Cython\Utility\ObjectHandling.c -> build\bdist.win-amd64\egg\Cython\Utility
copying build\lib.win-amd64-2.7\Cython\Utility\Optimize.c -> build\bdist.win-amd64\egg\Cython\Utility
copying build\lib.win-amd64-2.7\Cython\Utility\Overflow.c -> build\bdist.win-amd64\egg\Cython\Utility
copying build\lib.win-amd64-2.7\Cython\Utility\Printing.c -> build\bdist.win-amd64\egg\Cython\Utility
copying build\lib.win-amd64-2.7\Cython\Utility\Profile.c -> build\bdist.win-amd64\egg\Cython\Utility
copying build\lib.win-amd64-2.7\Cython\Utility\StringTools.c -> build\bdist.win-amd64\egg\Cython\Utility
copying build\lib.win-amd64-2.7\Cython\Utility\TestCythonScope.pyx -> build\bdist.win-amd64\egg\Cython\Utility
copying build\lib.win-amd64-2.7\Cython\Utility\TestCyUtilityLoader.pyx -> build\bdist.win-amd64\egg\Cython\Utility
copying build\lib.win-amd64-2.7\Cython\Utility\TestUtilityLoader.c -> build\bdist.win-amd64\egg\Cython\Utility
copying build\lib.win-amd64-2.7\Cython\Utility\TypeConversion.c -> build\bdist.win-amd64\egg\Cython\Utility
copying build\lib.win-amd64-2.7\Cython\Utility\__init__.py -> build\bdist.win-amd64\egg\Cython\Utility
copying build\lib.win-amd64-2.7\Cython\Utils.py -> build\bdist.win-amd64\egg\Cython
copying build\lib.win-amd64-2.7\Cython\__init__.py -> build\bdist.win-amd64\egg\Cython
copying build\lib.win-amd64-2.7\cython.py -> build\bdist.win-amd64\egg
creating build\bdist.win-amd64\egg\pyximport
copying build\lib.win-amd64-2.7\pyximport\pyxbuild.py -> build\bdist.win-amd64\egg\pyximport
copying build\lib.win-amd64-2.7\pyximport\pyximport.py -> build\bdist.win-amd64\egg\pyximport
copying build\lib.win-amd64-2.7\pyximport\__init__.py -> build\bdist.win-amd64\egg\pyximport
byte-compiling build\bdist.win-amd64\egg\Cython\Build\BuildExecutable.py to BuildExecutable.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Build\Cythonize.py to Cythonize.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Build\Dependencies.py to Dependencies.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Build\Distutils.py to Distutils.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Build\Inline.py to Inline.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Build\IpythonMagic.py to IpythonMagic.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Build\Tests\TestInline.py to TestInline.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Build\Tests\TestIpythonMagic.py to TestIpythonMagic.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Build\Tests\TestStripLiterals.py to TestStripLiterals.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Build\Tests\__init__.py to __init__.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Build\__init__.py to __init__.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\CodeWriter.py to CodeWriter.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\AnalysedTreeTransforms.py to AnalysedTreeTransforms.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\Annotate.py to Annotate.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\AutoDocTransforms.py to AutoDocTransforms.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\Buffer.py to Buffer.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\Builtin.py to Builtin.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\CmdLine.py to CmdLine.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\Code.py to Code.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\CodeGeneration.py to CodeGeneration.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\CythonScope.py to CythonScope.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\DebugFlags.py to DebugFlags.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\Errors.py to Errors.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\ExprNodes.py to ExprNodes.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\FlowControl.py to FlowControl.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\FusedNode.py to FusedNode.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\Future.py to Future.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\Interpreter.py to Interpreter.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\Lexicon.py to Lexicon.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\Main.py to Main.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\MemoryView.py to MemoryView.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\ModuleNode.py to ModuleNode.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\Naming.py to Naming.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\Nodes.py to Nodes.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\Optimize.py to Optimize.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\Options.py to Options.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\ParseTreeTransforms.py to ParseTreeTransforms.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\Parsing.py to Parsing.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\Pipeline.py to Pipeline.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\PyrexTypes.py to PyrexTypes.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\Pythran.py to Pythran.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\Scanning.py to Scanning.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\StringEncoding.py to StringEncoding.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\Symtab.py to Symtab.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\Tests\TestBuffer.py to TestBuffer.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\Tests\TestCmdLine.py to TestCmdLine.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\Tests\TestFlowControl.py to TestFlowControl.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\Tests\TestGrammar.py to TestGrammar.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\Tests\TestMemView.py to TestMemView.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\Tests\TestParseTreeTransforms.py to TestParseTreeTransforms.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\Tests\TestSignatureMatching.py to TestSignatureMatching.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\Tests\TestTreeFragment.py to TestTreeFragment.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\Tests\TestTreePath.py to TestTreePath.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\Tests\TestTypes.py to TestTypes.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\Tests\TestUtilityLoad.py to TestUtilityLoad.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\Tests\TestVisitor.py to TestVisitor.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\Tests\__init__.py to __init__.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\TreeFragment.py to TreeFragment.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\TreePath.py to TreePath.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\TypeInference.py to TypeInference.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\TypeSlots.py to TypeSlots.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\UtilityCode.py to UtilityCode.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\UtilNodes.py to UtilNodes.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\Version.py to Version.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\Visitor.py to Visitor.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Compiler\__init__.py to __init__.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Coverage.py to Coverage.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Debugger\Cygdb.py to Cygdb.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Debugger\DebugWriter.py to DebugWriter.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Debugger\libcython.py to libcython.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Debugger\libpython.py to libpython.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Debugger\Tests\TestLibCython.py to TestLibCython.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Debugger\Tests\test_libcython_in_gdb.py to test_libcython_in_gdb.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Debugger\Tests\test_libpython_in_gdb.py to test_libpython_in_gdb.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Debugger\Tests\__init__.py to __init__.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Debugger\__init__.py to __init__.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Debugging.py to Debugging.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Distutils\build_ext.py to build_ext.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Distutils\extension.py to extension.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Distutils\old_build_ext.py to old_build_ext.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Distutils\__init__.py to __init__.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Plex\Actions.py to Actions.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Plex\DFA.py to DFA.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Plex\Errors.py to Errors.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Plex\Lexicons.py to Lexicons.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Plex\Machines.py to Machines.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Plex\Regexps.py to Regexps.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Plex\Scanners.py to Scanners.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Plex\Timing.py to Timing.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Plex\Traditional.py to Traditional.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Plex\Transitions.py to Transitions.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Plex\__init__.py to __init__.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Runtime\__init__.py to __init__.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Shadow.py to Shadow.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\StringIOTree.py to StringIOTree.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Tempita\compat3.py to compat3.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Tempita\_looper.py to _looper.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Tempita\_tempita.py to _tempita.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Tempita\__init__.py to __init__.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Tests\TestCodeWriter.py to TestCodeWriter.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Tests\TestJediTyper.py to TestJediTyper.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Tests\TestStringIOTree.py to TestStringIOTree.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Tests\xmlrunner.py to xmlrunner.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Tests\__init__.py to __init__.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\TestUtils.py to TestUtils.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Utility\__init__.py to __init__.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\Utils.py to Utils.pyc
byte-compiling build\bdist.win-amd64\egg\Cython\__init__.py to __init__.pyc
byte-compiling build\bdist.win-amd64\egg\cython.py to cython.pyc
byte-compiling build\bdist.win-amd64\egg\pyximport\pyxbuild.py to pyxbuild.pyc
byte-compiling build\bdist.win-amd64\egg\pyximport\pyximport.py to pyximport.pyc
byte-compiling build\bdist.win-amd64\egg\pyximport\__init__.py to __init__.pyc
creating stub loader for Cython\Plex\Scanners.pyd
creating stub loader for Cython\Plex\Actions.pyd
creating stub loader for Cython\Compiler\Pythran.pyd
creating stub loader for Cython\Compiler\Lexicon.pyd
creating stub loader for Cython\Compiler\Scanning.pyd
creating stub loader for Cython\Compiler\Parsing.pyd
creating stub loader for Cython\Compiler\Visitor.pyd
creating stub loader for Cython\Compiler\FlowControl.pyd
creating stub loader for Cython\Compiler\Code.pyd
creating stub loader for Cython\Runtime\refnanny.pyd
creating stub loader for Cython\Tempita\_tempita.pyd
byte-compiling build\bdist.win-amd64\egg\Cython\Runtime\refnanny.py to refnanny.pyc
creating build\bdist.win-amd64\egg\EGG-INFO
copying Cython.egg-info\PKG-INFO -> build\bdist.win-amd64\egg\EGG-INFO
copying Cython.egg-info\SOURCES.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying Cython.egg-info\dependency_links.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying Cython.egg-info\entry_points.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying Cython.egg-info\not-zip-safe -> build\bdist.win-amd64\egg\EGG-INFO
copying Cython.egg-info\top_level.txt -> build\bdist.win-amd64\egg\EGG-INFO
writing build\bdist.win-amd64\egg\EGG-INFO\native_libs.txt
creating dist
creating 'dist\Cython-0.27.3-py2.7-win-amd64.egg' and adding 'build\bdist.win-amd64\egg' to it
removing 'build\bdist.win-amd64\egg' (and everything under it)
Processing Cython-0.27.3-py2.7-win-amd64.egg
creating c:\program files\autodesk\maya2017\python\lib\site-packages\Cython-0.27.3-py2.7-win-amd64.egg
Extracting Cython-0.27.3-py2.7-win-amd64.egg to c:\program files\autodesk\maya2017\python\lib\site-packages
Adding Cython 0.27.3 to easy-install.pth file
Installing cython-script.py script to C:\Program Files\Autodesk\Maya2017\Python\Scripts
Installing cython.exe script to C:\Program Files\Autodesk\Maya2017\Python\Scripts
Installing cygdb-script.py script to C:\Program Files\Autodesk\Maya2017\Python\Scripts
Installing cygdb.exe script to C:\Program Files\Autodesk\Maya2017\Python\Scripts
Installing cythonize-script.py script to C:\Program Files\Autodesk\Maya2017\Python\Scripts
Installing cythonize.exe script to C:\Program Files\Autodesk\Maya2017\Python\Scripts

Installed c:\program files\autodesk\maya2017\python\lib\site-packages\cython-0.27.3-py2.7-win-amd64.egg
Processing dependencies for Cython==0.27.3
Finished processing dependencies for Cython==0.27.3



now how to extract cython-0.27.3-py2.7-win-amd64.egg to make use of it ??

Ruchit Bhatt

unread,
Dec 1, 2017, 12:47:02 PM12/1/17
to Python Programming for Autodesk Maya
now how can i extract cython-0.27.3-py2.7-win-amd64.egg  ??

Ruchit Bhatt

unread,
Dec 1, 2017, 1:02:40 PM12/1/17
to Python Programming for Autodesk Maya
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"]),
   
]
)


Justin Israel

unread,
Dec 1, 2017, 3:53:29 PM12/1/17
to python_in...@googlegroups.com
That is a pretty hacky hack, but if it gets your module compiled, then why not! You probably could have just set environment variables CFLAGS ("-I/path/to/python/includes") and LDFLAGS ("-L/path/to/libraries").

Python eggs are just zip files. When you installed them in one particular location, you should see ".pth" files in that same location. The ".pth" files contain the reference to the eggs, which tells python to also append them to your python path. So your option is to also copy or update the .pth file in the new target location, or extract the egg using zip.

--
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 python_inside_m...@googlegroups.com.

Lokesh Kumar

unread,
May 17, 2018, 9:37:13 PM5/17/18
to Python Programming for Autodesk Maya
Hi Ruchit,

Even after following all the steps which you have mentioned above, i am still getting the same error.. Can you please help me figure out this thing.



I am using Maya2015 64bit and the mayapy version is " Python 2.7.3 (default, May  8 2013, 09:43:48) [MSC v.1700 64 bit (AMD64)]  "

cython was installed successfully 

Paul Winex

unread,
Feb 1, 2020, 8:11:18 AM2/1/20
to Python Programming for Autodesk Maya
Hi!
Has anyone been able to compile with cython successfully?
I use Win10, Maya 2019-2020, same problem(

пятница, 18 мая 2018 г., 4:37:13 UTC+3 пользователь Lokesh Kumar написал:

Paul Winex

unread,
Feb 1, 2020, 3:57:24 PM2/1/20
to Python Programming for Autodesk Maya
I have solution!

1. You need to build cython locally. Install correct VS Libraries. For example Maya2018 require VS v14. You need to install Individual component and select some C++ build tools v14 and Windows SDK.
2. Install cpython for maya without binary, pip must build it on you local machine
Command: 
set LIB=<YOURPATH>\Maya2018\lib
<YOURPATH>\Maya2018\bin\mayapy.exe -m pip install cython --no-binary :all:
LIB variable is path to file python27.lib

Now cython is installed, you can try to compile with command from this example https://gist.github.com/nrtkbb/5b65d2f5ed42bd9947b5
mayapy.exe setup.py build_ext --inplace


Paul Winex

unread,
Feb 3, 2020, 4:47:17 AM2/3/20
to Python Programming for Autodesk Maya
Oh, i forgot one thing.
You need to copy source files form MayaXXX\include\python2.7 to MayaXXXX\Python\include

суббота, 1 февраля 2020 г., 23:57:24 UTC+3 пользователь Paul Winex написал:

Robert White

unread,
Feb 3, 2020, 2:26:05 PM2/3/20
to Python Programming for Autodesk Maya
You don't need to copy the files to a new include folder, instead you want to just make sure the folder is on the `INCLUDE` environment variable.
So much like you did for LIB, you'd do `set INCLUDE=%INCLUD%;path_to_maya\include\python2.7`

Paul Winex

unread,
Feb 4, 2020, 4:39:06 AM2/4/20
to Python Programming for Autodesk Maya
Yes, is alternative)))

понедельник, 3 февраля 2020 г., 22:26:05 UTC+3 пользователь Robert White написал:
Reply all
Reply to author
Forward
0 new messages