cfbolz changed the topic of #pypy to: PyPy, the flexible snake (IRC logs: https://quodlibet.duckdns.org/irc/pypy/latest.log.html#irc-end ) | use cffi for calling C | if a pep adds a mere 25-30 [C-API] functions or so, it's a drop in the ocean (cough) - Armin
jacob22 has joined #pypy
jacob22 has quit [Quit: Konversation terminated!]
jacob22 has joined #pypy
jacob22_ has joined #pypy
jacob22 has quit [Ping timeout: 268 seconds]
Guest73768 has joined #pypy
Guest73768 has quit [Remote host closed the connection]
<mattip>
it is something about creating a named pipe and then ConnectNamedPipe fails
<redj>
hi, is anyone familiar with packages that install a python extension (using cffi) that depend on a dynamic library compiled from source? or to phrase this another way: my _pyfoo.cpython-39-x86_64-linux-gnu.so depends on libfoo.so so how can I make sure that the pip install / setup.py will copy libfoo.so to .../python3.9/site-packages/? my libfoo.so is already compiled from source in the process... I just need to make
<redj>
sure it's installed...
<mattip>
in your setup.py, you should be calling setup(configuration=configuration, ...)
<redj>
mattip: setup.py is already calling setup(...)
<mattip>
good
<mattip>
do you use a configuration() function?
<redj>
I did not
<mattip>
do you use a setup.cfg?
<redj>
not so far
<mattip>
well, you have to tell setup to add some data_files
<redj>
I did try data_files but it didn't seem to copy those files
<mattip>
this is more of a packaging problem than a cffi one
<redj>
agreed. should I have asked the question in #pypa ?
<mattip>
I am off soon but try searching around for setup.py and data_files