File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -39,13 +39,17 @@ jobs:
3939 run : |
4040 echo "OS: ${{ matrix.os }}"
4141 echo "Python Version: ${{ matrix.python-version }}"
42+ python -m sysconfig
43+ echo "Python include: $(python -c 'import sysconfig; print(sysconfig.get_path("include"))')"
44+ echo "Python libdir: $(python -c 'import sysconfig; print(sysconfig.get_config_var("LIBDIR"))')"
4245 python --version
4346 pip list
4447
4548 - name : Install dependencies
4649 run : |
4750 python -m pip install --upgrade pip
48- pip install -e '.[test]'
51+ # pip install -e '.[test]'
52+ pip install .
4953
5054 - name : Run tests with pytest
5155 run : |
7781 black --check optimrl tests
7882 isort --check-only optimrl tests
7983 flake8 optimrl tests
84+
85+ - name : Upgrade setuptools
86+ run : python -m pip install --upgrade setuptools wheel
87+
Original file line number Diff line number Diff line change @@ -17,6 +17,12 @@ class CustomBuildExt(build_ext):
1717
1818 def build_extensions (self ):
1919 # Set platform-specific compiler flags
20+ for ext in self .extensions :
21+ print (f"Building extension: { ext .name } " )
22+ print (f"Include dirs: { ext .include_dirs } " )
23+ print (f"Library dirs: { ext .library_dirs } " )
24+ super ().build_extensions ()
25+
2026 compiler_type = self .compiler .compiler_type
2127 for ext in self .extensions :
2228 if compiler_type == 'unix' :
You can’t perform that action at this time.
0 commit comments