pygradle icon indicating copy to clipboard operation
pygradle copied to clipboard

support for shared lib dependencies?

Open jr4 opened this issue 8 years ago • 1 comments

I have dependencies that in turn depend on an .so. Is this supported currently? What is the best pygradle way to accomplish this?

It's failing for me during :installPythonRequirements, during setup.py of the module that depends, that's when it notices the library's missing.

Do I need to create an extension module and publish it to a local pypi repo? If so how would I ensure that the dependency is included in the virtualenv in time?

Thanks

:createVirtualEnvironment UP-TO-DATE
:installLinks UP-TO-DATE
:installSetupRequirements
... snip ...
Install Cython-0.25.2 ............................................... [SKIPPING]
Install h5py-2.6.0 .................................................. [STARTING]
... snip ...
  Autodetection skipped [libhdf5.so: cannot open shared object file: No such file or directory]
... more errors ...

jr4 avatar Dec 30 '16 18:12 jr4

@jr4 expressing dependencies on native libraries isn't supported today, but it is something that we're currently working on ourselves. Stay tuned!

For the time being, you'll have to install these native libraries on your machines manually.

sholsapp avatar Dec 31 '16 01:12 sholsapp