Skip to content

Commit

Permalink
unsupported win 32bit
Browse files Browse the repository at this point in the history
  • Loading branch information
Mariosmsk committed Mar 23, 2024
1 parent 5858772 commit ef40bbb
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion epyt/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
__author__ = """Marios S. Kyriakou"""
__email__ = "[email protected]"
__version__ = "1.0.9-beta.2"
__version__ = "1.0.9-beta.3"
__copyright__ = """Copyright 2022, KIOS Research and Innovation Center of Excellence (KIOS CoE),
University of Cyprus (www.kios.org.cy)."""
__license__ = "EUPL License, Version 1.2"
Expand Down
7 changes: 1 addition & 6 deletions epyt/epanet.py
Original file line number Diff line number Diff line change
Expand Up @@ -12807,12 +12807,7 @@ def __init__(self, version=2.2, msx=False):
libname = f"epanet"
ops = platform.system().lower()
if ops in ["windows"]:
if "32" in str(platform.architecture()):
self.LibEPANET = resource_filename("epyt", os.path.join("libraries", "win", '32bit',
f"{libname}2.dll"))
elif "64" in str(platform.architecture()):
self.LibEPANET = resource_filename("epyt", os.path.join("libraries", "win", '64bit',
f"{libname}2.dll"))
self.LibEPANET = resource_filename("epyt", os.path.join("libraries", "win", '64bit', f"{libname}2.dll"))
elif ops in ["darwin"]:
self.LibEPANET = resource_filename("epyt", os.path.join("libraries", f"mac/lib{libname}.dylib"))
else:
Expand Down
Binary file removed epyt/libraries/win/32bit/epanet2.dll
Binary file not shown.
Binary file removed epyt/libraries/win/32bit/epanet2.exe
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit ef40bbb

Please sign in to comment.