-
Notifications
You must be signed in to change notification settings - Fork 39
use scikit-build-core as build backend #1019
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
TonyXiang8787
wants to merge
27
commits into
main
Choose a base branch
from
feature/scikit-build-core
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 22 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
dcd6e19
remove setuptools
TonyXiang8787 1d37498
try first build
TonyXiang8787 1a9454c
don't know if header works
TonyXiang8787 95988d5
export cmake
TonyXiang8787 e41af08
try python
TonyXiang8787 4d382d1
seperate build dir
TonyXiang8787 817d105
try editable
TonyXiang8787 5487ab9
editable works
TonyXiang8787 120b8f3
add conda
TonyXiang8787 b023809
change PYPI version
TonyXiang8787 3bec816
start msvc
TonyXiang8787 b81346f
modify ci
TonyXiang8787 86cb044
action.yml
TonyXiang8787 be22c13
if windows
TonyXiang8787 b370f90
if windows
TonyXiang8787 e8a8576
[skip ci] version invalid for cmake
TonyXiang8787 9d03e9f
strip version for cmake
TonyXiang8787 989f10b
add lib64
TonyXiang8787 87205ed
Merge branch 'main' into feature/scikit-build-core
TonyXiang8787 20747f1
move get dll path
TonyXiang8787 994eedf
[skip ci] well known labels
TonyXiang8787 c77fd52
markdown
TonyXiang8787 54fddc2
downmerge ruff
TonyXiang8787 4e5b965
default parallel, force single thread in CI
TonyXiang8787 cf71df3
sdist include by default
TonyXiang8787 89aad17
Merge branch 'main' into feature/scikit-build-core
TonyXiang8787 419f774
Merge branch 'main' into feature/scikit-build-core
TonyXiang8787 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org> | ||
# | ||
# SPDX-License-Identifier: MPL-2.0 | ||
|
||
name: 'Enable MSVC' | ||
description: 'Sets up Microsoft Visual C++ Build Tools on the runner' | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Setup MSVC Build Tools | ||
shell: pwsh | ||
run: | | ||
$vsPath = &(Join-Path ${env:ProgramFiles(x86)} '\Microsoft Visual Studio\Installer\vswhere.exe') -property installationpath | ||
Import-Module (Join-Path $vsPath 'Common7\Tools\Microsoft.VisualStudio.DevShell.dll') | ||
Enter-VsDevShell -VsInstallPath $vsPath -SkipAutomaticLocation -DevCmdArguments '-arch=x64 -host_arch=x64' | ||
|
||
Add-Content $env:GITHUB_ENV "VCINSTALLDIR=$env:VCINSTALLDIR" | ||
Add-Content $env:GITHUB_ENV "PATH=$env:PATH" | ||
Add-Content $env:GITHUB_ENV "INCLUDE=$env:INCLUDE" | ||
Add-Content $env:GITHUB_ENV "LIB=$env:LIB" | ||
Add-Content $env:GITHUB_ENV "LIBPATH=$env:LIBPATH" | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.