Yes, is alternative)))

понедельник, 3 февраля 2020 г., 22:26:05 UTC+3 пользователь Robert White 
написал:
>
> 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`
>
>
> On Monday, February 3, 2020 at 3:47:17 AM UTC-6, Paul Winex wrote:
>>
>> 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 
>> написал:
>>>
>>> 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
>>>
>>>
>>>

-- 
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_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/420c5de9-2a85-4a4a-9f19-9d55bb9564db%40googlegroups.com.

Reply via email to