-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added support for apple m1 users (#9)
- Loading branch information
1 parent
4b6ffb2
commit b80674d
Showing
5 changed files
with
215 additions
and
39 deletions.
There are no files selected for viewing
This file contains 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,16 +1,19 @@ | ||
name: Build | ||
on: [push, pull_request] | ||
on: | ||
- push | ||
- pull_request | ||
jobs: | ||
lint: | ||
if: github.event_name == 'push' && !startsWith(github.event.ref, 'refs/tags') | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v3 | ||
- name: Install latest rust | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
profile: minimal | ||
override: true | ||
components: clippy | ||
- name: Lint with clippy | ||
|
@@ -24,23 +27,31 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] | ||
os: [ubuntu-latest , macos-latest, windows-latest] | ||
python-version: | ||
- '3.7' | ||
- '3.8' | ||
- '3.9' | ||
- '3.10' | ||
- '3.11' | ||
os: | ||
- ubuntu-latest | ||
- macos-latest | ||
- windows-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v3 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install Poetry | ||
uses: abatilo/[email protected] | ||
- name: Install Rust | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: stable | ||
override: true | ||
- name: Install Poetry | ||
uses: abatilo/[email protected] | ||
- name: Install dependencies | ||
run: poetry install | ||
- name: Build Python package | ||
|
This file contains 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 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,6 +1,6 @@ | ||
[package] | ||
name = "fastzy" | ||
version = "0.5.0" | ||
version = "0.5.1" | ||
authors = ["Gal Ben David <[email protected]>"] | ||
edition = "2021" | ||
description = "Python library for fast fuzzy search over a big file written in Rust" | ||
|
@@ -15,19 +15,6 @@ keywords = [ | |
] | ||
|
||
[package.metadata.maturin] | ||
requires-python = ">=3.7" | ||
classifier = [ | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: MacOS", | ||
"Operating System :: Microsoft", | ||
"Operating System :: POSIX :: Linux", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Rust", | ||
] | ||
|
||
[lib] | ||
name = "fastzy" | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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 |
---|---|---|
|
@@ -12,7 +12,7 @@ sdist-include = [ | |
|
||
[tool.poetry] | ||
name = "fastzy" | ||
version = "0.5.0" | ||
version = "0.5.1" | ||
authors = ["Gal Ben David <[email protected]>"] | ||
description = "Python library for fast fuzzy search over a big file written in Rust" | ||
readme = "README.md" | ||
|