<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hallo Chris!<div><br></div><div>Ich habe Deinen Patch mal eingesetzt und auf <a href="https://github.com/marians/audiocalc">https://github.com/marians/audiocalc</a> gepusht.</div><div><br></div><div>Es gibt ein paar Dinge, die mir auffallen. Ich habe das mal in <a href="https://github.com/marians/audiocalc/issues/1">https://github.com/marians/audiocalc/issues/1</a> dokumentiert.</div><div><br></div><div>Die Kurzform:</div><div><br></div><div>1. Nach "python setup.py build" liegt die .so-Datei nicht automatisch im Package-Verzeichnis, sondern unter build/lib.mac… Ich nehme an, das ist normal? (Mit "python setup.py install" liegt sie ja dann unter site-packages und wird wohl auch verwendet.)</div><div><br></div><div>2. Kann man die Dateien setuptools-1.3.2-py2.7.egg und setuptools-1.3.2.tar.gz, die automatisch im Verzeichnis abgelegt werden, auch beim build automatisch wieder löschen lassen?</div><div><br></div><div>3. Mit der Cython-Version funktionieren einige, aber nicht alle, Unittests nicht. Es kommen Fehler wie:</div><div><br></div><div><div>File "/Users/marian/github/audiocalc/audiocalc/test.py", line 21, in test_damping_01</div><div>  damp = audiocalc.damping(20, 80, 8000)</div><div>AttributeError: 'module' object has no attribute 'damping'</div></div><div><br></div><div>Ich kann mir nicht erklären, warum damit 3 Tests funktionieren (test_level_to_power_01, test_total_level_01, test_total_rated_level_01) und die anderen 4 nicht.</div><div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br></div>
</div>
<div>Hast Du hier einen Tipp?</div><div><br></div><div>Marian</div><div><br></div><br><div><div>Am 05.12.2013 um 15:00 schrieb Christopher Arndt <<a href="mailto:chris@chrisarndt.de">chris@chrisarndt.de</a>>:</div><br class="Apple-interchange-newline"><blockquote type="cite">Am 03.12.2013 11:07, schrieb marian:<br><br>Ich komme mit an Cython angepassten Code von ~ 3.465 auf ~ 0.4 sec.<br><br>$ python audiocalc/benchmark_damping.py<br>Using Cython implementation of 'audiocalc'.<br>Duration: 0.400 sec<br>$ rm -f audiocalc/_audiocalc.so<br>$ python audiocalc/benchmark_damping.py<br>Using Python implementation of 'audiocalc'.<br>Duration: 3.465 sec...</blockquote></div></body></html>