Skip to content

Commit

Permalink
workflow test
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchell-tesch committed Mar 10, 2024
1 parent a3a0072 commit e7a9495
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
with:
documentation_path: ./docs
python_version: 3.12
sphinx_build_options: -D autodoc_mock_imports="ETABSv1"
publish: false
- uses: peaceiris/actions-gh-pages@v3
with:
Expand Down
Binary file added src/pytabs/etabs/ETABSv1.dll
Binary file not shown.
3 changes: 2 additions & 1 deletion src/pytabs/etabs_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@
# check to see if ETABS API DLL path from config file exists
etabs_api_path = pytabs_config['ETABS']['API_DLL_PATH']
if not os.path.isfile(etabs_api_path):
warnings.warn(f"ETABS API .DLL unable to be located @ {etabs_api_path}, check pytabs_config.py",
warnings.warn(f"ETABS API .DLL not found @ {etabs_api_path}, check pytabs_config.ini",
ImportWarning)
etabs_api_path = "./etabs/ETABSv1.dll"

# pythonnet clr-loader import of Marshal - ETABS API requirement
clr.AddReference("System.Runtime.InteropServices")
Expand Down

0 comments on commit e7a9495

Please sign in to comment.