<div dir="ltr">Hi all and thank you for your help.<div><br></div><div>I finally managed to build Aubio for Python on Windows 7, and import it in my code without any path issue with "from aubio import xxx".</div><div>

If it can help anyone, here's the method that worked for me:</div><div><br></div><div><br></div><div><div>- install pythonXY</div><div>- install mingw</div><div>- get aubio from "git://<a href="http://git.aubio.org/git/aubio">git.aubio.org/git/aubio</a>"</div>

<div><br></div><div>- open windows console in aubio directory</div><div> * build the C library: </div><div> > python .\waf configure build -j 1 --check-c-compiler=gcc</div><div><br></div><div> * configure python to use gcc (see <a href="http://stackoverflow.com/questions/16737260/how-to-tell-distutils-to-use-gcc">http://stackoverflow.com/questions/16737260/how-to-tell-distutils-to-use-gcc</a> ): </div>

<div>  + create file "C:\Python27\Lib\distutils\distutils.cfg" containing:</div><div><span class="" style="white-space:pre">      </span>[build]</div><div><span class="" style="white-space:pre">    </span>compiler = mingw32</div>

<div><br></div><div>  + remove all "-mno-cygwin" from file "C:\Python27\Lib\distutils\cygwinccompiler.py" (not sure if this is necessary)</div><div>  </div><div>- build the python module</div><div>> cd python</div>

<div>> python setup.py build</div><div><br></div><div>- install the python module: </div><div>> python setup.py install</div><div><br></div><div>- to check that everything is ok:</div><div>> cd tests</div><div>> python run_all_tests -v</div>

<div><br></div><div><br></div><div>best, Aymeric</div></div><div class="gmail_extra"><div class="gmail_quote"><div> </div></div></div></div>