Topics

how to build .pyd files


CYBER मावळा
 

Hello,

I am building a plugin for nvda using scons. i  am working with pyaudio in it 
my folder structure is as follows:
globalPlugins
        plugin.py  # is the main script 
        modules  # is a folder, where i am putting all my depencies
             pyaudio
                 pyaudio.py
                 __portaudio
 i m not able to import pyaudio, error is
C:\Users\sharangk\AppData\Roaming\nvda\addons\demo\globalPlugins\modules\pyaudio\pyaudio.py", line 116, in <module>
    import _portaudio as pa
ModuleNotFoundError: No module named '_portaudio'


I have attached buildVars.py and sconstruct files as an attachment.
I am trying to solve this problem since 15 days, still not getting solution 


please help me.