Another try
This commit is contained in:
parent
52a82447f9
commit
2d0c301062
21
.github/workflows/build_wheels.yml
vendored
21
.github/workflows/build_wheels.yml
vendored
@ -35,6 +35,11 @@ jobs:
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.x
|
||||
- name: Set cargo version from tag
|
||||
run: |
|
||||
cargo install cargo-edit
|
||||
cargo set-version $(git describe --tags --always)
|
||||
|
||||
- name: Build wheels
|
||||
uses: PyO3/maturin-action@v1
|
||||
with:
|
||||
@ -66,6 +71,10 @@ jobs:
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.x
|
||||
- name: Set cargo version from tag
|
||||
run: |
|
||||
cargo install cargo-edit
|
||||
cargo set-version $(git describe --tags --always)
|
||||
- name: Build wheels
|
||||
uses: PyO3/maturin-action@v1
|
||||
with:
|
||||
@ -94,6 +103,10 @@ jobs:
|
||||
with:
|
||||
python-version: 3.x
|
||||
architecture: ${{ matrix.platform.target }}
|
||||
- name: Set cargo version from tag
|
||||
run: |
|
||||
cargo install cargo-edit
|
||||
cargo set-version $(git describe --tags --always)
|
||||
- name: Build wheels
|
||||
uses: PyO3/maturin-action@v1
|
||||
with:
|
||||
@ -120,6 +133,10 @@ jobs:
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.x
|
||||
- name: Set cargo version from tag
|
||||
run: |
|
||||
cargo install cargo-edit
|
||||
cargo set-version $(git describe --tags --always)
|
||||
- name: Build wheels
|
||||
uses: PyO3/maturin-action@v1
|
||||
with:
|
||||
@ -136,6 +153,10 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set cargo version from tag
|
||||
run: |
|
||||
cargo install cargo-edit
|
||||
cargo set-version $(git describe --tags --always)
|
||||
- name: Build sdist
|
||||
uses: PyO3/maturin-action@v1
|
||||
with:
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "qubed"
|
||||
# version = "0.1.5"
|
||||
version = "0.0.0"
|
||||
edition = "2021"
|
||||
repository = "https://github.com/ecmwf/qubed"
|
||||
|
||||
|
@ -1,10 +1,7 @@
|
||||
[build-system]
|
||||
requires = ["maturin>=0.14", "setuptools", "setuptools-rust", "setuptools_scm"]
|
||||
requires = ["maturin>=1.0,<2.0"]
|
||||
build-backend = "maturin"
|
||||
|
||||
[tool.setuptools_scm]
|
||||
write_to = "src/python/qubed/_version.py"
|
||||
|
||||
[project]
|
||||
name = "qubed"
|
||||
description = "A library that provides a tree of datacubes called Qube."
|
||||
|
Loading…
x
Reference in New Issue
Block a user