[C++-sig] Distutils: setup script for binary files
Christophe Pradal
christophe.pradal at cirad.fr
Thu Jun 8 18:39:13 CEST 2006
Roman Yakovenko a écrit :
> Hi.
>
> I asked the next question on Python list and did not get the answer.
> May be I will
> have more luck here.
>
> I want to create setup script, that will install compiled extension module
> plus few binaries the extension module depends on.
>
> For example: I have package X:
>
> X:
> __init__.py
> _x_.dll ( or so )
> some other dll's ( so's ) _x_.dll depends on.
>
> I took a look on Python documentation,
> http://docs.python.org/dist/describing-extensions.html, but it only
> describes how to create
> setup script for extension module from source files.
>
> I think, I can treat _x_.dll as it was regular Python script. My
> problem is, that on Linux
> I should put "some other so's" in some directory, program loader can find.
> How can I do this?
>
There is no good solution. What we do is to install binary dependencies
as data.
Other solutions is to install first on the system the other so, then
your package.
> Any help is appreciated.
>
> Thanks
>
> --
> Roman Yakovenko
> C++ Python language binding
> http://www.language-binding.net/
> _______________________________________________
> C++-sig mailing list
> C++-sig at python.org
> http://mail.python.org/mailman/listinfo/c++-sig
>
>
--
Christophe Pradal
Equipe INRIA/CIRAD/INRA Virtual Plants - UMR AMAP
TA40/PSII, Boulevard de la Lironde
34398 MONTPELLIER CEDEX 5, France
http://www-sop.inria.fr/virtualplants
tel : (33) 4 67 61 75 63 fax : (33) 4 67 61 56 68
email : christophe.pradal at cirad.fr http://amap.cirad.fr
More information about the Cplusplus-sig
mailing list