Skip to content

Commit

Permalink
Apply patch
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed May 14, 2023
1 parent 9a3ed61 commit 1ae1b52
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/test-cygwin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ on:
permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: windows-latest
Expand Down
9 changes: 9 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import sys
import warnings

import setuptools
from setuptools import Extension, setup
from setuptools.command.build_ext import build_ext

Expand Down Expand Up @@ -430,6 +431,14 @@ def get_macos_sdk_path(self):
return sdk_path

def build_extensions(self):
print("setuptools version", setuptools.__version__)
print("sys.platform", sys.platform)
print("compiler used", self.compiler)
self.compiler.shared_lib_extension = ".dll.a"
self.compiler.dylib_lib_extension = ".dll"
self.compiler.static_lib_format = self.compiler.shared_lib_format = "lib%s%s"
self.compiler.dylib_lib_format = "cyg%s%s"

library_dirs = []
include_dirs = []

Expand Down

0 comments on commit 1ae1b52

Please sign in to comment.