Skip to content

Commit

Permalink
Merge branch 'develop' into drop_py37
Browse files Browse the repository at this point in the history
  • Loading branch information
dweindl committed Jan 12, 2022
2 parents ace85a6 + a4f6610 commit 93aa5f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
shell: bash
run: pip install -v $(ls -t dist/amici-*.tar.gz | head -1)

- run: python -c "import amici"
- run: python -m amici

- name: Run Python tests
run: python -m pytest --ignore-glob=*petab* --ignore-glob=*special* python/tests
8 changes: 1 addition & 7 deletions swig/amici.i
Original file line number Diff line number Diff line change
Expand Up @@ -194,14 +194,8 @@ import sys
import os

if sys.platform == 'win32':
def add_dll_directory(x):
if os.path.isdir(x):
print("Adding", x)
os.add_dll_directory(x)
else:
print("Skipping", x)
for dll_dir in os.environ.get("AMICI_DLL_DIRS", "").split(os.pathsep):
add_dll_directory(dll_dir)
os.add_dll_directory(dll_dir)

%}

Expand Down

0 comments on commit 93aa5f6

Please sign in to comment.