Skip to content

Commit f5de0bf

Browse files
committed
Drop vendored find_libpython
1 parent 43d1640 commit f5de0bf

File tree

8 files changed

+8
-408
lines changed

8 files changed

+8
-408
lines changed

.github/workflows/ARM.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
3737
- name: Set Python DLL path (non Windows)
3838
run: |
39-
python -m pythonnet.find_libpython --export >> $GITHUB_ENV
39+
echo PYTHONNET_PYDLL=$(python -m find_libpython) >> $GITHUB_ENV
4040
4141
- name: Embedding tests
4242
run: dotnet test --logger "console;verbosity=detailed" src/embed_tests/

.github/workflows/main.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@ jobs:
5757
- name: Set Python DLL path (non Windows)
5858
if: ${{ matrix.os != 'windows' }}
5959
run: |
60-
python -m pythonnet.find_libpython --export >> $GITHUB_ENV
60+
echo PYTHONNET_PYDLL=$(python -m find_libpython) >> $GITHUB_ENV
6161
6262
- name: Set Python DLL path (Windows)
6363
if: ${{ matrix.os == 'windows' }}
6464
run: |
65-
python -m pythonnet.find_libpython --export | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
65+
Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append -InputObject "PYTHONNET_PYDLL=$(python -m find_libpython)"
6666
6767
- name: Embedding tests
6868
run: dotnet test --runtime any-${{ matrix.platform }} --logger "console;verbosity=detailed" src/embed_tests/

.github/workflows/nuget-preview.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
- name: Set Python DLL path (non Windows)
4747
if: ${{ matrix.os != 'windows' }}
4848
run: |
49-
python -m pythonnet.find_libpython --export >> $GITHUB_ENV
49+
echo PYTHONNET_PYDLL=$(python -m find_libpython) >> $GITHUB_ENV
5050
5151
- name: Python Tests
5252
run: pytest

0 commit comments

Comments
 (0)