<div dir="ltr">I have; but if I recall correctly, it does not solve the problem of distributing code that uses it, or does it?</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 27, 2014 at 10:51 AM, Toby St Clere Smithe <span dir="ltr"><<a href="mailto:pyviennacl@tsmithe.net" target="_blank">pyviennacl@tsmithe.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<div><br>
Eelco Hoogendoorn <<a href="mailto:hoogendoorn.eelco@gmail.com">hoogendoorn.eelco@gmail.com</a>> writes:<br>
> Thanks for the heads up, I wasn't aware of this project. While boost.python<br>
> is a very nice package, its distributability is nothing short of<br>
> nonexistent, so its great to have a pure python binding generator.<br>
><br>
> One thing which I have often found frustrating is natural ndarray interop<br>
> between python and C++. Is there a (planned) mechanism for mapping<br>
> arbitrary strided python ndarrays to boost arrays?<br>
<br>
</div>Have you tried boost.numpy?<br>
<br>
<a href="https://github.com/ndarray/Boost.NumPy" target="_blank">https://github.com/ndarray/Boost.NumPy</a><br>
<br>
I have a fork which builds against Python 3, as well -- though it's<br>
mainly used for PyViennaCL, and might need a bit of cleaning.<br>
<br>
Cheers,<br>
<br>
Toby<br>
<div><br>
<br>
<br>
<br>
><br>
> On Thu, Feb 27, 2014 at 1:24 AM, Anthony Scopatz <<a href="mailto:scopatz@gmail.com">scopatz@gmail.com</a>> wrote:<br>
><br>
>> Hello All,<br>
>><br>
</div>>> I am *extremely *pleased to be able to announce the version 0.4 release<br>
<div>>> of xdress.  This version contains much anticipated full support for Clang<br>
>> as a parser!  This is almost entirely due to the efforts of Geoffrey<br>
>> Irving.  Please thank him the next time you get a chance :)<br>
>><br>
>> This release also contains a lot of other goodies that you can read about<br>
>> in the release notes below.<br>
>><br>
>> Happy Generating!<br>
>> Anthony<br>
>><br>
</div>>> XDress 0.4 Release Notes<<a href="http://xdress.org/previous/0.4_release_notes.html#xdress-0-4-release-notes" target="_blank">http://xdress.org/previous/0.4_release_notes.html#xdress-0-4-release-notes</a>><br>

<div>>><br>
>> XDress is a numpy-aware automatic wrapper generator for C/C++ written in<br>
>> pure Python. Currently, xdress may generate Python bindings (via Cython)<br>
>> for C++ classes, functions, and certain variable types. It also contains<br>
>> idiomatic wrappers for C++ standard library containers (sets, vectors,<br>
>> maps). In the future, other tools and bindings will be supported.<br>
>><br>
>> The main enabling feature of xdress is a dynamic type system that was<br>
>> designed with the purpose of API generation in mind.<br>
>><br>
>> Release highlights:<br>
>><br>
>><br>
</div>>>    - Clang support! All kudos to Geoffrey Irving!<br>
>>    - NumPy dtypes may be created independently of C++ STL vectors<br>
>>    - A complete test suite refactor<br>
>>    - Arbitrary source code locations<br>
>>    - Global run control files<br>
>>    - A plethora of useful bug fixes<br>
>><br>
>> This version of xdress is *not* 100% backwards compatible with previous<br>
<div>>> versions of xdress. We apologize in the name of progress. It represents ans<br>
>> impressive 245 files changed, 44917 aggregate line insertions (+), and 7893<br>
>> deletions (-).<br>
>><br>
>> Please visit the website for more information: <a href="http://xdress.org/" target="_blank">http://xdress.org/</a><br>
>><br>
>> Ask questions on the mailing list:<br>
>> <a href="https://groups.google.com/forum/#!forum/xdress" target="_blank">https://groups.google.com/forum/#!forum/xdress</a><br>
>><br>
>> Download the code from GitHub: <a href="http://github.com/xdress/xdress" target="_blank">http://github.com/xdress/xdress</a><br>
>><br>
>> XDress is free & open source (BSD 2-clause license) and requires Python<br>
>> 2.7+, NumPy 1.5+, Cython 0.19+, and optionally Clang, GCC-XML, pycparser,<br>
>> dOxygen, or lxml.<br>
</div>>>  New Features<<a href="http://xdress.org/previous/0.4_release_notes.html#new-features" target="_blank">http://xdress.org/previous/0.4_release_notes.html#new-features</a>><br>
>> Clang Support<<a href="http://xdress.org/previous/0.4_release_notes.html#clang-support" target="_blank">http://xdress.org/previous/0.4_release_notes.html#clang-support</a>><br>
<div>>><br>
>> Through the herculean efforts of Geoffrey Irving xdress finally has full,<br>
>> first-class Clang/LLVM support! This is major advancement as it allows<br>
>> xdress to wrap more modern versions of C++ than GCC-XML can handle. Because<br>
>> of deficiencies in the existing libclang and Python bindings it was<br>
>> necessary for us to fork libclang for xdress in the short term. We hope to<br>
>> integrate these changes upstream. Clang versions 3.2 - 3.4 are supported.<br>
</div>>> Independent NumPy Dtypes<<a href="http://xdress.org/previous/0.4_release_notes.html#independent-numpy-dtypes" target="_blank">http://xdress.org/previous/0.4_release_notes.html#independent-numpy-dtypes</a>><br>

<div>>><br>
>> In previous versions of xdress, to create a dtype of type T the user<br>
>> needed to declare the desire for a wrapper of an STL vector of type T.<br>
>> These two desires have now been separated. It is now possible to create a<br>
>> dtype via the dtypes run control parameter. STL vectors are still wrapped<br>
>> via dtypes. See the dtypes module for more information.<br>
</div>>> Shiny New Test Suite<<a href="http://xdress.org/previous/0.4_release_notes.html#shiny-new-test-suite" target="_blank">http://xdress.org/previous/0.4_release_notes.html#shiny-new-test-suite</a>><br>
<div>>><br>
>> The xdress test suite has been completely revamped to include both unit<br>
>> and integration tests which are run for all available parsers. The<br>
>> integration tests are accomplished though two fake projects - cproj and<br>
>> cppproj - on which the xdress CLI is run. These tests are now fully<br>
>> platform independent, unlike the previous BASH-based test suite.<br>
</div>>> Source Paths<<a href="http://xdress.org/previous/0.4_release_notes.html#source-paths" target="_blank">http://xdress.org/previous/0.4_release_notes.html#source-paths</a>><br>
<div>>><br>
>> Source file paths are now given by either their absolute or relative path.<br>
>> This allows source code to be located anywhere on the user's file system<br>
>> and enable the wrapping of dependencies or externally supplied libraries as<br>
>> needed. The run control parametersourcedir has been deprecated.<br>
</div>>> Global Run Control Files<<a href="http://xdress.org/previous/0.4_release_notes.html#global-run-control-files" target="_blank">http://xdress.org/previous/0.4_release_notes.html#global-run-control-files</a>><br>

<div>>><br>
>> It is sometimes useful to be able to set system-wide run control<br>
>> parameters. XDress will now search the following files in order of<br>
>> increasing precedence.<br>
>><br>
</div>>>    - $HOME/.xdressrc<br>
>>    - $HOME/.xdressrc.py<br>
>>    - $HOME/.config/xdressrc<br>
>>    - $HOME/.config/xdressrc.py<br>
<div>>><br>
>> $HOME is the user's home directory. Settings in the project run control<br>
>> file take precedence over the values here.<br>
</div>>>  Major Bug Fixes<<a href="http://xdress.org/previous/0.4_release_notes.html#major-bug-fixes" target="_blank">http://xdress.org/previous/0.4_release_notes.html#major-bug-fixes</a>><br>
>><br>
>>    - Debug file now always written when in debug mode.<br>
>>    - STL sets of custom types now allowed.<br>
>>    - Template parameters now allowed to be enum values.<br>
>>    - Allow classes with no default constructor.<br>
>><br>
>> Join in the Fun!<<a href="http://xdress.org/previous/0.4_release_notes.html#join-in-the-fun" target="_blank">http://xdress.org/previous/0.4_release_notes.html#join-in-the-fun</a>><br>
<div>>><br>
>> If you are interested in using xdress on your project (and need help),<br>
>> contributing back to xdress, starting up a development team, or writing<br>
>> your own code generation plugin tool, please let us know. Participation is<br>
>> very welcome!<br>
</div>>>  Authors <<a href="http://xdress.org/previous/0.4_release_notes.html#authors" target="_blank">http://xdress.org/previous/0.4_release_notes.html#authors</a>><br>
>><br>
>>    - Anthony Scopatz <<a href="http://scopatz.com/" target="_blank">http://scopatz.com/</a>><br>
>>    - Geoffrey Irving *<br>
>>    - James Casbon *<br>
>>    - Kevin Tew *<br>
>>    - Spencer Lyon<br>
>>    - John Wiggins<br>
>>    - Matt McCormick<br>
>>    - Brad Buran<br>
>>    - Chris Harris *<br>
>>    - Gerald Dalley *<br>
>>    - Micky Latowicki *<br>
>>    - Mike C. Fletcher *<br>
>>    - Robert Schwarz *<br>
<div>>><br>
>> An * indicates a first time contributor.<br>
</div>>> Links <<a href="http://xdress.org/previous/0.4_release_notes.html#links" target="_blank">http://xdress.org/previous/0.4_release_notes.html#links</a>><br>
>><br>
>>    1. Homepage - <a href="http://xdress.org/" target="_blank">http://xdress.org/</a><br>
>>    2. Mailing List - <a href="https://groups.google.com/forum/#!forum/xdress" target="_blank">https://groups.google.com/forum/#!forum/xdress</a><br>
>>    3. GitHub Organization - <a href="https://github.com/xdress" target="_blank">https://github.com/xdress</a><br>
<div class="HOEnZb"><div class="h5">>><br>
>><br>
>> _______________________________________________<br>
>> NumPy-Discussion mailing list<br>
>> <a href="mailto:NumPy-Discussion@scipy.org">NumPy-Discussion@scipy.org</a><br>
>> <a href="http://mail.scipy.org/mailman/listinfo/numpy-discussion" target="_blank">http://mail.scipy.org/mailman/listinfo/numpy-discussion</a><br>
>><br>
>><br>
> _______________________________________________<br>
> NumPy-Discussion mailing list<br>
> <a href="mailto:NumPy-Discussion@scipy.org">NumPy-Discussion@scipy.org</a><br>
> <a href="http://mail.scipy.org/mailman/listinfo/numpy-discussion" target="_blank">http://mail.scipy.org/mailman/listinfo/numpy-discussion</a><br>
<br>
_______________________________________________<br>
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@scipy.org">NumPy-Discussion@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/numpy-discussion" target="_blank">http://mail.scipy.org/mailman/listinfo/numpy-discussion</a><br>
</div></div></blockquote></div><br></div>