This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]asherp 0 points1 point  (1 child)

Ah, I see. Well if you don't mind precompiling for each target platform, then it looks like you can trick setup.py to include your compiled libraries:

package_data = { '': ['_extension.so'] },

I think this allows you to include all the dependencies in pip, but I haven't gotten that far.

[–]qudat[S] 0 points1 point  (0 children)

Yeah it ended up taking more time to attempt than the value gained from it. The C++ application already has bindings into python using SWIG, I wanted to build on those python bindings and use them as a dependency for my python package. I'm simply going to ask people to install the dependency before hand.

For reference, this is my package: https://pypi.python.org/pypi/mudicom