pyNastran  0.5.0
pyNastran BDF Reader/Writer, OP2 Parser, and GUI
__init__.py
Go to the documentation of this file.
00001 dev = False
00002 if dev:
00003     import os
00004     import pysvn
00005     import inspect
00006 
00007     print(inspect.getfile(inspect.currentframe())) # script filename (usually with path)
00008     curDir = os.path.dirname(inspect.getfile(inspect.currentframe())) # script directory
00009     
00010     client = pysvn.Client()
00011     #print(dir(client))
00012     client.update(curDir)
00013     revision = client.info(curDir).revision.number
00014     print("revision = %s" %(revision))
00015     changes = client.get_changelist(curDir)
00016     print("changes = %s" %(changes))
00017     #client.update('./examples/pysvn')
00018 else:
00019     revision = '981'
00020 
00021 __author__  = 'Steven Doyle, Al Danial'
00022 __email__   = 'mesheb82@gmail.com'
00023 __desc__    = 'Nastran BDF/F06/OP2/OP4 File reader/editor/writer/viewer'
00024 __copyright__   = 'Copyright 2011-2012, pyNastran; %s' %(__author__)
00025 __license__     = 'LGPLv3'
00026 __releaseDate__ = '2012/8/13'
00027 __releaseDate2__ = 'AUGUST 13, 2012'
00028 __version__     = '0.5.r%s' %(revision)
00029 __website__     = 'http://code.google.com/p/pynastran/'
 All Classes Namespaces Files Functions Variables