#!/opt/local/bin/python3.11
####!/opt/local/bin/python3.11 -W error
# -*- python -*-

# This software was produced by NIST, an agency of the U.S. government,
# and by statute is not subject to copyright in the United States.
# Recipients of this software assume all responsibilities associated
# with its operation, modification and maintenance. However, to
# facilitate maintenance we ask that before distributing modified
# versions of this software, you first contact the authors at
# oof_manager@ctcms.nist.gov. 

# This is the start-up script for oof2, created by cmake from oof2.in
# in the oof2 source distribution.  It is installed as an executable
# file in the bin directory, *not* the python library.  "import oof2"
# statements refer to the oof2 module in the library, not to this
# file.

import sys
import os

# This should make it unnecessary for users to set PYTHONPATH themselves.
sys.path.append("/opt/local//opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages")

import oof2
sys.path.append(os.path.dirname(oof2.__file__))

# All user input is evaluated in this environment, so first import
# useful things like the math library.
from math import *

# The real start-up code is in ooflib.common.oof.  Until it is loaded,
# no modules containing oof C++ code can be used.  Therefore, don't
# even try loading any other oof code (not even the debug module)
# before here!
from ooflib.common import oof

oof.run()
sys.exit()
