pbfy0 / visvis

Automatically exported from code.google.com/p/visvis
Other
0 stars 0 forks source link

Bug in setup.py prevents installation #46

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run setup.py

What is the expected output? What do you see instead?

gives an error message that 'file' is undefined

in setup.py, line 22, 'for line in file(...' file should be replaced by open

Original issue reported on code.google.com by r.reil...@gmail.com on 15 Aug 2012 at 11:59

GoogleCodeExporter commented 9 years ago
Fixed. I now use same code snippet as in pyolib and imageio to get __version__ 
and the docstring from the __init__.py

Original comment by almar.klein@gmail.com on 16 Aug 2012 at 2:18