Rosetta
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
arls.py
Go to the documentation of this file.
1 #!/usr/bin/env python
2 # (c) Copyright Rosetta Commons Member Institutions.
3 # (c) This file is part of the Rosetta software suite and is made available under license.
4 # (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
5 # (c) For more information, see http://www.rosettacommons.org. Questions about this can be
6 # (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
7 
8 import sys
9 
10 # By doing this before we even import the "real" script,
11 # we ensure reasonable error messages
12 # even with "syntax errors" like generator expressions.
13 if not hasattr(sys, "version_info") or sys.version_info < (2,3):
14  print
15  print " *** Script requires Python 2.3 or higher! ***"
16  print
17  sys.exit(1)
18 
19 if __name__ == "__main__":
20  import arls_impl
21  sys.exit(arls_impl.main(sys.argv[1:]))
def main
Definition: arls_impl.py:782