Remove crates subdirectory (#563)

This commit is contained in:
Charlie Marsh 2022-11-03 09:19:54 -04:00 committed by GitHub
parent e00bcd19f5
commit 937c83d57f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 10 additions and 10 deletions

View file

@ -30,7 +30,7 @@ jobs:
uses: messense/maturin-action@v1 uses: messense/maturin-action@v1
with: with:
target: x86_64 target: x86_64
args: --release --out dist --sdist -m ./crates/${{ env.CRATE_NAME }}/Cargo.toml args: --release --out dist --sdist -m ./${{ env.CRATE_NAME }}/Cargo.toml
maturin-version: "v0.13.0" maturin-version: "v0.13.0"
- name: Install built wheel - x86_64 - name: Install built wheel - x86_64
run: | run: |
@ -57,7 +57,7 @@ jobs:
- name: Build wheels - universal2 - name: Build wheels - universal2
uses: messense/maturin-action@v1 uses: messense/maturin-action@v1
with: with:
args: --release --universal2 --out dist -m ./crates/${{ env.CRATE_NAME }}/Cargo.toml args: --release --universal2 --out dist -m ./${{ env.CRATE_NAME }}/Cargo.toml
maturin-version: "v0.13.0" maturin-version: "v0.13.0"
- name: Install built wheel - universal2 - name: Install built wheel - universal2
run: | run: |
@ -89,7 +89,7 @@ jobs:
uses: messense/maturin-action@v1 uses: messense/maturin-action@v1
with: with:
target: ${{ matrix.target }} target: ${{ matrix.target }}
args: --release --out dist -m ./crates/${{ env.CRATE_NAME }}/Cargo.toml args: --release --out dist -m ./${{ env.CRATE_NAME }}/Cargo.toml
maturin-version: "v0.13.0" maturin-version: "v0.13.0"
- name: Install built wheel - name: Install built wheel
shell: bash shell: bash
@ -117,7 +117,7 @@ jobs:
with: with:
target: ${{ matrix.target }} target: ${{ matrix.target }}
manylinux: auto manylinux: auto
args: --release --out dist -m ./crates/${{ env.CRATE_NAME }}/Cargo.toml args: --release --out dist -m ./${{ env.CRATE_NAME }}/Cargo.toml
maturin-version: "v0.13.0" maturin-version: "v0.13.0"
- name: Install built wheel - name: Install built wheel
if: matrix.target == 'x86_64' if: matrix.target == 'x86_64'
@ -144,7 +144,7 @@ jobs:
with: with:
target: ${{ matrix.target }} target: ${{ matrix.target }}
manylinux: auto manylinux: auto
args: --no-default-features --release --out dist -m ./crates/${{ env.CRATE_NAME }}/Cargo.toml args: --no-default-features --release --out dist -m ./${{ env.CRATE_NAME }}/Cargo.toml
maturin-version: "v0.13.0" maturin-version: "v0.13.0"
- uses: uraimo/run-on-arch-action@v2.0.5 - uses: uraimo/run-on-arch-action@v2.0.5
if: matrix.target != 'ppc64' if: matrix.target != 'ppc64'
@ -183,7 +183,7 @@ jobs:
with: with:
target: ${{ matrix.target }} target: ${{ matrix.target }}
manylinux: musllinux_1_2 manylinux: musllinux_1_2
args: --release --out dist -m ./crates/${{ env.CRATE_NAME }}/Cargo.toml args: --release --out dist -m ./${{ env.CRATE_NAME }}/Cargo.toml
maturin-version: "v0.13.0" maturin-version: "v0.13.0"
- name: Install built wheel - name: Install built wheel
if: matrix.target == 'x86_64-unknown-linux-musl' if: matrix.target == 'x86_64-unknown-linux-musl'
@ -219,7 +219,7 @@ jobs:
with: with:
target: ${{ matrix.platform.target }} target: ${{ matrix.platform.target }}
manylinux: musllinux_1_2 manylinux: musllinux_1_2
args: --release --out dist -m ./crates/${{ env.CRATE_NAME }}/Cargo.toml args: --release --out dist -m ./${{ env.CRATE_NAME }}/Cargo.toml
maturin-version: "v0.13.0" maturin-version: "v0.13.0"
- uses: uraimo/run-on-arch-action@master - uses: uraimo/run-on-arch-action@master
name: Install built wheel name: Install built wheel
@ -261,7 +261,7 @@ jobs:
maturin-version: "v0.13.0" maturin-version: "v0.13.0"
target: ${{ matrix.target }} target: ${{ matrix.target }}
manylinux: auto manylinux: auto
args: --release --out dist -i pypy${{ matrix.python-version }} -m ./crates/${{ env.CRATE_NAME }}/Cargo.toml args: --release --out dist -i pypy${{ matrix.python-version }} -m ./${{ env.CRATE_NAME }}/Cargo.toml
- name: Install built wheel - name: Install built wheel
if: matrix.target == 'x86_64' if: matrix.target == 'x86_64'
run: | run: |

View file

@ -1,6 +1,6 @@
[workspace] [workspace]
members = [ members = [
"crates/flake8_to_ruff", "flake8_to_ruff",
] ]
[package] [package]

View file

@ -12,7 +12,7 @@ clap = { version = "4.0.1", features = ["derive"] }
configparser = { version = "3.0.2" } configparser = { version = "3.0.2" }
once_cell = { version = "1.13.1" } once_cell = { version = "1.13.1" }
regex = { version = "1.6.0" } regex = { version = "1.6.0" }
ruff = { path = "../..", default-features = false } ruff = { path = "..", default-features = false }
serde = { version = "1.0.143", features = ["derive"] } serde = { version = "1.0.143", features = ["derive"] }
serde_json = { version = "1.0.83" } serde_json = { version = "1.0.83" }
toml = { version = "0.5.9" } toml = { version = "0.5.9" }