[myhdl-list] suggestion: version number printout
Brought to you by:
jandecaluwe
From: George P. <ge...@ga...> - 2006-10-01 19:16:06
|
Jan, I think it would be useful to have MyHDL print its version number every time it runs. It could prevent considerable confusion and frustration. For example, I just discovered that I was actually using 0.5c1 and not 0.5.1 like I thought! But to find this out I had to manually check: import myhdl print myhdl.__version__ Also, as my library of MyHDL modules grows along with MyHDL itself, some modules may require a newer version of MyHDL than others. I think it would nice to be able to enforce this, and save the user from the ensuing flood of hard-to-read Python tracebacks. I like how PyGTK provides a method to require a particular version of gtk be available: import pygtk pygtk.require('2.0') import gtk Regards, George |