diff --git a/ProFAST/__init__.py b/ProFAST/__init__.py new file mode 100644 index 000000000..a016e16b8 --- /dev/null +++ b/ProFAST/__init__.py @@ -0,0 +1,14 @@ +import sys + +version_info = sys.version_info +if version_info.major == 3: + if version_info.minor == 8: + from .pyc_files.ProFAST_python38 import ProFAST + elif version_info.minor == 9: + from .pyc_files.ProFAST_python39 import ProFAST + elif version_info.minor == 10: + from .pyc_files.ProFAST_python310 import ProFAST + else: + raise(ImportError(f"ProFAST is not currently available for your python version ({version_info[0]}.{version_info[1]}.{version_info[2]}). ProFAST is only compatible with python 3.8, 3.9, and 3.10")) +else: + raise(ImportError(f"ProFAST is not currently available for your python version ({version_info[0]}.{version_info[1]}.{version_info[2]}). ProFAST is only compatible with python 3.8, 3.9, and 3.10")) \ No newline at end of file diff --git a/ProFAST/__init__.pyc b/ProFAST/__init__.pyc deleted file mode 100644 index f58e85d04..000000000 Binary files a/ProFAST/__init__.pyc and /dev/null differ diff --git a/ProFAST/pyc_files/ProFAST_python310.pyc b/ProFAST/pyc_files/ProFAST_python310.pyc new file mode 100644 index 000000000..5ac85ff9f Binary files /dev/null and b/ProFAST/pyc_files/ProFAST_python310.pyc differ diff --git a/ProFAST/ProFAST.pyc b/ProFAST/pyc_files/ProFAST_python38.pyc similarity index 100% rename from ProFAST/ProFAST.pyc rename to ProFAST/pyc_files/ProFAST_python38.pyc diff --git a/ProFAST/pyc_files/ProFAST_python39.pyc b/ProFAST/pyc_files/ProFAST_python39.pyc new file mode 100644 index 000000000..c096907ca Binary files /dev/null and b/ProFAST/pyc_files/ProFAST_python39.pyc differ diff --git a/ProFAST/pyc_files/__init__.py b/ProFAST/pyc_files/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/requirements.txt b/requirements.txt index 733068a0e..4e1e07db5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -20,6 +20,7 @@ numpy-financial optuna pandas>=2.0.3 pint +plotly pvmismatch pyDOE2 pymoo