Skip to content

Commit

Permalink
PIP Package fixes for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
pepone committed Feb 1, 2025
1 parent b94957d commit f247fbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def filter_source(filename):
return False

if sys.platform == 'win32':
for exclude in ["SysLoggerI", "OpenSSL", "SecureTransport"]:
for exclude in ["SysLoggerI", "OpenSSL", "SecureTransport", "Service", "DLLMain"]:
if exclude in filename:
# Skip SysLoggerI, OpenSSL and SecureTransport on Windows
return False
Expand Down Expand Up @@ -197,7 +197,7 @@ def pre_build(self):
# Build the SliceCompile target to generate the Ice, IceDiscovery, and IceLocatorDiscovery
# sources included in the pip source dist
for project in ["Ice", "IceDiscovery", "IceLocatorDiscovery"]:
project_path = f"../cpp/src/{project}/{project}/{project}.vcxproj"
project_path = f"../cpp/src/{project}/msbuild/{project}/{project}.vcxproj"
os.system(f"MSBuild {project_path} {msbuild_args} /t:SliceCompile")

else:
Expand Down

0 comments on commit f247fbe

Please sign in to comment.