networkx / networkx-metis

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

Added networkx and nose as requirements #21

Closed OrkoHunter closed 9 years ago

OrkoHunter commented 9 years ago

Fixes #20

ysitu commented 9 years ago

Can you verify that python setup.py test works?

OrkoHunter commented 9 years ago

Well it throws out saying

Failure: OSError ([Errno 20] Not a directory: '/usr/local/lib/python2.7/dist-packages/networkx-metis-1.0-py2.7-linux-x86_64.egg/networkx') ... ERROR

Complete log

======================================================================
ERROR: Failure: OSError ([Errno 20] Not a directory: '/usr/local/lib/python2.7/dist-packages/networkx-metis-1.0-py2.7-linux-x86_64.egg/networkx')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 411, in loadTestsFromName
    addr.filename, addr.module)
  File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 86, in importFromDir
    if (self.sameModule(old, filename)
  File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 131, in sameModule
    if _samefile(mod_path, new_path):
  File "/usr/lib/python2.7/posixpath.py", line 162, in samefile
    s1 = os.stat(f1)
OSError: [Errno 20] Not a directory: '/usr/local/lib/python2.7/dist-packages/networkx-metis-1.0-py2.7-linux-x86_64.egg/networkx'
-------------------- >> begin captured logging << --------------------
root: INFO: Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
root: INFO: Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
--------------------- >> end captured logging << ---------------------

----------------------------------------------------------------------
Ran 1 test in 0.154s

FAILED (errors=1)
ysitu commented 9 years ago

Hmm... It works for me. I ran it from the repository directory.

OrkoHunter commented 9 years ago

Great. I'll try after clearing the mess from my directory. There's a lot of it.

OrkoHunter commented 9 years ago

Worked for me too.