Skip to content

Commit ec2e9c2

Browse files
committed
Use generic wheel
1 parent 6d395c1 commit ec2e9c2

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

src/python/library/build_wheel.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,9 +230,10 @@ def sed(pattern, replace, source, dest=None):
230230
else:
231231
platform_name = "manylinux1_x86_64"
232232
args = ["python3", "setup.py", "bdist_wheel", "--plat-name", platform_name]
233-
elif FLAGS.windows and platform.uname().machine == "AMD64":
234-
platform_name = "win_amd64"
235-
args = ["python3", "setup.py", "bdist_wheel", "--plat-name", platform_name]
233+
# FIXME: Uncomment when Windows tests do not use WSL
234+
# elif FLAGS.windows and platform.uname().machine == "AMD64":
235+
# platform_name = "win_amd64"
236+
# args = ["python3", "setup.py", "bdist_wheel", "--plat-name", platform_name]
236237
else:
237238
args = ["python3", "setup.py", "bdist_wheel"]
238239

src/python/library/setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,10 @@ def req_file(filename, folder="requirements"):
7878
platform_package_data = []
7979
if "linux" in PLATFORM_FLAG:
8080
platform_package_data += ["libcshm.so"]
81-
elif PLATFORM_FLAG == "win_amd64":
81+
# FIXME: Uncomment when Windows tests do not use WSL
82+
# elif PLATFORM_FLAG == "win_amd64":
83+
# platform_package_data += ["cshm.dll"]
84+
else:
8285
platform_package_data += ["cshm.dll"]
8386

8487
data_files = [

0 commit comments

Comments
 (0)