nju-websoft / OpenEA

A Benchmarking Study of Embedding-based Entity Alignment for Knowledge Graphs, VLDB 2020
GNU General Public License v3.0
517 stars 80 forks source link

Pip Package #20

Open sven-h opened 3 years ago

sven-h commented 3 years ago

Hi,

would it be possible to release the library on conda-forge or as a pip package? I think the pip package should be fairly easy to upload with your given struture. Let me know what you think about it.

Furthermore I get the following warning during execution:

/anaconda3/envs/openea/lib/python3.6/site-packages/graph_tool/draw/cairo_draw.py:67: RuntimeWarning: Error importing matplotlib module. Graph drawing will not work.
  warnings.warn(msg, RuntimeWarning)
/anaconda3/envs/openea/lib/python3.6/site-packages/graph_tool/draw/cairo_draw.py:67: RuntimeWarning: Error importing matplotlib module. Graph drawing will not work.
  warnings.warn(msg, RuntimeWarning)
/anaconda3/envs/openea/lib/python3.6/site-packages/graph_tool/all.py:40: RuntimeWarning: Error importing draw module, proceeding nevertheless: No module named 'matplotlib'
  warnings.warn(msg, RuntimeWarning)
graph via graph_tool <Graph object, directed, with 148 vertices and 105 edges at 0x7f82d88afdd8>

It just misses the dependency to matplotlib. I think it is a good idea to add it to the requirements.txt as well as to the readme of this repository which explains the conda environment creation.

Best regards Sven

sunzequn commented 3 years ago

Hi Sven,

Thank you for your suggestion. We will consider releasing the library as a pip package.

Best, Zequn