<br><br><div class="gmail_quote">On Sun, Aug 26, 2012 at 8:04 PM, Gregory Szorc <span dir="ltr"><<a href="mailto:gregory.szorc@gmail.com" target="_blank">gregory.szorc@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The attached patch adds a setup.py file for the Python bindings. This should facilitate easier installation of the Python bindings (people can just run |python setup.py install|). This might also make it easier on package maintainers (most package managers have a special mechanism to deal with setup.py files).<br>

<br>
The file is pretty boilerplate. One open question I have is for the version. Is there a file elsewhere in the tree where I can read the version number from? I don't really like hard-coding the version in setup.py...<span class="HOEnZb"><font color="#888888"><br>

<br>
Gregory<br>
</font></span><br>_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
<br></blockquote><div><br>Regarding the version: when clang is built, the svn version from which the sources were put together is included in the resulting binary, perhaps that a similar mechanism for the python version would be possible ?<br>
<br>If you run clang -v, you can get it, so I suppose that exploring from there (where does -v lead ?) you may be able to find the versions and check if they are available via the hooks or where they come from.<br><br>-- Matthieu <br>
</div></div><br>