Changeset 13543


Ignore:
Timestamp:
Sep 19, 2019 12:55:54 PM (3 months ago)
Author:
randersson
Message:

#5819 Updated init.py to point at correct directory when running python3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev-5819/Python/src/tests_jmodelica/__init__.py

    r12953 r13543  
    7676                               " variable."
    7777    pycompiler = platform.python_compiler()
    78     if "64 bit" in pycompiler and "win" in sys.platform:
     78    if sys.version_info > (3, 0):
     79        return os.path.join(jmhome, 'Python', 'tests_jmodelica', 'files')
     80    elif "64 bit" in pycompiler and "win" in sys.platform:
    7981        return os.path.join(jmhome, 'Python_64', 'tests_jmodelica', 'files')
    8082    else:
Note: See TracChangeset for help on using the changeset viewer.