Closed OrkoHunter closed 9 years ago
Can you verify that python setup.py test
works?
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)
Hmm... It works for me. I ran it from the repository directory.
Great. I'll try after clearing the mess from my directory. There's a lot of it.
Worked for me too.
Fixes #20