cfbolz changed the topic of #pypy to: PyPy, the flexible snake (IRC logs: https://botbot.me/freenode/pypy/ ) | use cffi for calling C | the secret reason for us trying to get PyPy users: to test the JIT well enough that we're somewhat confident about it
energizer has quit [Remote host closed the connection]
energizer has joined #pypy
<mattip>
cython 0.28.2 is begin released very soon
<mattip>
so another release blocker gone
jcea has quit [Ping timeout: 265 seconds]
<cfbolz>
mattip: thanks for all the great interfacing with other communities that you do!
<mattip>
:)
<mattip>
back to the buildbot showing rpytohn results, I have a fix to buildbot to allow it to show multiple builder results
<mattip>
so a url like buildbot.pypy.org/summary?builder=rpython-linux-x86-32&builder=rpython-linux-x86-64&builder=rpython-win-x86-32
<mattip>
will show all three builders (currently it shows the last one)
<mattip>
so far so good
<mattip>
now to create a link at the top of the page, like Summary, Summary (trunk) etc,
<mattip>
I could hard code the three builder names (easy)
<mattip>
or try to dig into layout.html, set a new template parameter, find out how twisted sets those parameters, and find a place to set it in build.py (hard)
<cfbolz>
mattip: hard code, I'd say. We can extend it when we ever need to, no?
<mattip>
ok. I guess it is discoverable by looking at the hg changelog, we don't modify buildbot all that much
marr has joined #pypy
<kenaan>
mattip buildbot 2416342c7b7b /: test, fix for displaying more than one builder, add link to all RPython builders
<eric97477>
If I cd into cffi_test and run ipython, I can, of course, 'from _sample_lib import ffi, lib' and run 'lib.a_sample_function( 10 )' and have it work.
<eric97477>
After I do 'pip install -e .', run ipython, and try 'from cffi_test import cffi_test', I get an import error claiming that it cannot find _sample_lib. Which, of course, it cannot, because while _sample_lib.cpython-36m-darwin.so was built, it was not put into the 'cffi_test/cffi_test' package directory.
<eric97477>
So, I can build everything correctly, but I am not sure what the best way is to have the built library placed inside of the package.
<eric97477>
There is likely various ways to reorganize things and I am wondering what the best practices are in this situation. I did like the idea of having the cffi_test/c_library folder contain my source and keeping it separate from cffi_test/cffi_test.
energizer has quit [Ping timeout: 240 seconds]
energizer has joined #pypy
energizer has quit [Remote host closed the connection]
energizer has joined #pypy
marky1991 has quit [Ping timeout: 240 seconds]
energizer has quit [Remote host closed the connection]
jacob22__ has joined #pypy
drolando_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kipras`away is now known as kipras
drolando has joined #pypy
drolando has quit [Read error: Connection reset by peer]