djhenderson / python-graph

Automatically exported from code.google.com/p/python-graph
Other
0 stars 0 forks source link

Little bug in setup.py installationi script (catching ImportError exception using 'as') #97

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This is a little importance bug that I have found trying to install 
python-graph. It is because an incompatibility catching exception en setup.py 
script.
What steps will reproduce the problem?
easy_install python-graph-core
or
setup.py install (inside python-graph-1.8.0/dot or inside 
python-graph-1.8.0/core)

What is the expected output? What do you see instead?
installation of python-graph packages

What version of the product are you using? On what operating system?
1.8.0 / Windows / Python 2.5.4

Please provide any additional information below.
The problem was solved changing the following line in setup.py:

except ImportError as ie:

for the line except ImportError, e

Original issue reported on code.google.com by JeanMich...@gmail.com on 20 Aug 2011 at 11:52

GoogleCodeExporter commented 9 years ago
Sorry this bug is incorrect. I have just read the dependency in python core 
with Python 2.6. 

Original comment by JeanMich...@gmail.com on 20 Aug 2011 at 11:58

GoogleCodeExporter commented 9 years ago
No problem.

Original comment by pmatiello on 21 Aug 2011 at 12:03