-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #267 from jaredthomas68/profast
ProFAST compatible with python 3.9 and 3.10
- Loading branch information
Showing
7 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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")) |
Binary file not shown.
Binary file not shown.
File renamed without changes.
Binary file not shown.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,7 @@ numpy-financial | |
optuna | ||
pandas>=2.0.3 | ||
pint | ||
plotly | ||
pvmismatch | ||
pyDOE2 | ||
pymoo | ||
|