Using pyinstaller with Graph-tool
Hi, I was wondering if anybody from the list has ever used pyinstaller on an python app that uses graph-tool? I am trying to create a self-contained file/directory that I can give to others without them having to go through the trouble of installing all the packages required for graph-tool. It seem that pyinstaller does not like graph-tool dependancies. It complains about importing all of graph-tools libraries (correlation, etc., etc.). Anybody has any experience with htis, or any suggestion how to go about doing something similar? Thanks -- View this message in context: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/... Sent from the Main discussion list for the graph-tool project mailing list archive at Nabble.com.
On 07.04.2017 01:05, Evangelos Petsalis wrote:
Hi,
I was wondering if anybody from the list has ever used pyinstaller on an python app that uses graph-tool? I am trying to create a self-contained file/directory that I can give to others without them having to go through the trouble of installing all the packages required for graph-tool.
It seem that pyinstaller does not like graph-tool dependancies. It complains about importing all of graph-tools libraries (correlation, etc., etc.). Anybody has any experience with htis, or any suggestion how to go about doing something similar?
graph-tool is implemented in C++, pyinstaller only works for pure python modules (with some exceptions like numpy). In order for it to work with graph-tool, it would need to be able to bundle C++ shared objects, including several system libraries. This is not really feasible. If you want to bundle graph-tool, I believe the best way is to use docker. Best, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>
participants (2)
-
Evangelos Petsalis -
Tiago de Paula Peixoto