forked from openmc-dev/openmc
-
Notifications
You must be signed in to change notification settings - Fork 1
Pip install try while at nea #26
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
shimwell
wants to merge
20
commits into
develop
Choose a base branch
from
pip_install_try_while_at_nea
base: develop
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 all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
96610e1
openmc binary added to python path folder
shimwell a2a4690
added hyp5 as build requirment
shimwell 7dc45b2
combined package data
shimwell 3e30a53
added wheel builder
shimwell 68017dc
added python skip and hdf5
8046f5a
rempved package data line
shimwell 79379bf
specific version of ci wheel builder
shimwell 6dee9ca
Update .github/workflows/wheels.yml
shimwell bcedfba
trying above py3.8 for mac
shimwell 76ae5b7
Update scikitbuild version
shimwell 342e354
adding mac os back to matrix
shimwell 98792f3
changed skipping command for python version
shimwell 44b6ee1
trying custom repair wheel cmd for mac
shimwell 9d83366
trying new python37 to use universal2 image
shimwell cadd598
corrected py36 and 37 skipping
shimwell cfd9e27
bumped scikit and ciwheelbuilder
shimwell 6c22db5
commented out package_data lib
shimwell 7f3fce0
updated to scikit build 0.17.5
shimwell fd4728c
bump ci wheel builder version
shimwell b41aa06
0.17.6 scjkit build
shimwell 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,57 @@ | ||
| name: Build and upload to PyPI | ||
|
|
||
| on: | ||
| pull_request: | ||
| release: | ||
| types: | ||
| - published | ||
|
|
||
| jobs: | ||
| build_wheels: | ||
| name: Build wheels on ${{ matrix.os }} | ||
| runs-on: ${{ matrix.os }} | ||
| strategy: | ||
| matrix: | ||
| os: [ubuntu-22.04, macos-11] | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v3 | ||
|
|
||
| - name: Build wheels | ||
| uses: pypa/cibuildwheel@v2.13.0 | ||
|
|
||
| - uses: actions/upload-artifact@v3.1.2 | ||
| with: | ||
| path: ./wheelhouse/*.whl | ||
|
|
||
| build_sdist: | ||
| name: Build source distribution | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v3 | ||
|
|
||
| - name: Build sdist | ||
| run: | | ||
| pipx run build --sdist | ||
| - uses: actions/upload-artifact@v3.1.2 | ||
| with: | ||
| path: dist/*.tar.gz | ||
|
|
||
| upload_pypi: | ||
| needs: [build_wheels, build_sdist] | ||
| runs-on: ubuntu-latest | ||
| # to publish when a GitHub Release is created, use the following rule: | ||
| if: github.event_name == 'release' && github.event.action == 'published' | ||
| steps: | ||
| - uses: actions/download-artifact@v3.1.2 | ||
| with: | ||
| # unpacks default artifact into dist/ | ||
| # if `name: artifact` is omitted, the action will create extra parent dir | ||
| name: artifact | ||
| path: dist | ||
|
|
||
| - uses: pypa/gh-action-pypi-publish@v1.8.5 | ||
| with: | ||
| user: __token__ | ||
| password: ${{ secrets.pypi_password }} | ||
| # To test: repository_url: https://test.pypi.org/legacy/ | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,22 @@ | ||
| [build-system] | ||
| requires = ["setuptools", "wheel", "numpy", "cython"] | ||
| requires = [ | ||
| "setuptools", | ||
| "wheel", | ||
| "numpy", | ||
| "cython", | ||
| "scikit-build>=0.17.6", | ||
| "cmake>=3.10.0", | ||
| "h5py", | ||
| ] | ||
| build-backend = "setuptools.build_meta" | ||
|
|
||
| [tool.cibuildwheel] | ||
| skip = "cp36-*" | ||
|
|
||
| [tool.cibuildwheel.macos] | ||
| skip = "cp36-* cp37-*" | ||
| before-all = "brew install homebrew/core/hdf5" | ||
| repair-wheel-command = "delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel}" | ||
|
|
||
| [tool.cibuildwheel.linux] | ||
| manylinux-x86_64-image = "ghcr.io/h5py/manylinux2014_x86_64-hdf5" |
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
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.