networkx / networkx-metis

NetworkX Addon to allow graph partitioning with METIS
Other
79 stars 21 forks source link

Put function definitions separate from nxmetis/__init__.py #53

Closed OrkoHunter closed 9 years ago

OrkoHunter commented 9 years ago

Fix #52

ysitu commented 9 years ago

You do not have to rename __init__.py. In particular, you do not need to worry about circular imports. Resolving the headache with that was exactly reason why we went with importing only modules and nothing else. All you need here is to provide a thin wrapper for _metis named metis and use it __init__.py and types.py.

OrkoHunter commented 9 years ago

Oh, I got it now.

OrkoHunter commented 9 years ago

I hope this is okay now.