25 Function to create an argument parser. |
25 Function to create an argument parser. |
26 |
26 |
27 @return created argument parser object |
27 @return created argument parser object |
28 @rtype argparse.ArgumentParser |
28 @rtype argparse.ArgumentParser |
29 """ |
29 """ |
30 from eric7.UI.Info import Version |
30 from eric7.__version__ import Version |
31 |
31 |
32 # 1. create the argument parser |
32 # 1. create the argument parser |
33 parser = argparse.ArgumentParser( |
33 parser = argparse.ArgumentParser( |
34 description="Stand alone variant of the eric interpreter shell." |
34 description="Stand alone variant of the eric interpreter shell." |
35 " It is part of the eric tool suite.", |
35 " It is part of the eric tool suite.", |