Added version info for python/wx/sqlalchemy in aboutbox

This commit is contained in:
HomeWorld
2011-01-14 12:31:08 +02:00
parent 8878927e53
commit 2388c080f7

View File

@@ -17,7 +17,10 @@
# along with pyfa. If not, see <http://www.gnu.org/licenses/>.
#===============================================================================
import sys
import sqlalchemy
import wx
import service
import config
from gui import bitmapLoader
@@ -211,7 +214,17 @@ class MainFrame(wx.Frame):
info = wx.AboutDialogInfo()
info.Name = "pyfa"
info.Version = gui.aboutData.versionString
info.Description = wordwrap(gui.aboutData.description + "\n\n\nDevelopers: " + "".join(gui.aboutData.developers) + "\n\nAdditional credits:\n " + "\n ".join(gui.aboutData.credits) + "\n\nLicense: " + gui.aboutData.license + " - see included " + gui.aboutData.licenseLocation,
info.Description = wordwrap(gui.aboutData.description + "\n\n\nDevelopers: " +
"".join(gui.aboutData.developers) +
"\n\nAdditional credits:\n " +
"\n ".join(gui.aboutData.credits)
+ "\n\nLicense: " +
gui.aboutData.license +
" - see included " +
gui.aboutData.licenseLocation +
"\n\nPython: \t" + sys.version +
"\nwxPython: \t" + wx.__version__ +
"\nSQLAlchemy: \t" + sqlalchemy.__version__,
700, wx.ClientDC(self))
info.WebSite = ("http://www.evefit.org/Pyfa", "pyfa home page")
wx.AboutBox(info)