Skip to content

Commit

Permalink
More attempted fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenburns committed Nov 28, 2024
1 parent bd6f2d0 commit a636602
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ jobs:
platforms: all

- name: Build wheels
run: uvx --python 3.12 [email protected] --output-dir dist
run: uvx [email protected] --output-dir dist
env:
CIBW_BEFORE_BUILD: pip install Cython==3.0.11 && pip install -e . && python build.py
CIBW_BEFORE_BUILD: pip install --upgrade Cython==3.0.11 && pip install -e . && python build.py
CIBW_TEST_REQUIRES: pytest
CIBW_TEST_COMMAND: pytest --showlocals {package}/tests
CIBW_SKIP: "{pp*}"
Expand Down
10 changes: 10 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[project]
requires-python = ">= 3.8"

[build-system]
requires = [
"setuptools>=42",
"Cython",
]

build-backend = "setuptools.build_meta"
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
packages=["tree_sitter_languages"],
package_data={"tree_sitter_languages": ["languages.so", "languages.dll"]},
install_requires=["tree-sitter<0.22.0"],
python_requires=">=3.8.1",
python_requires=">=3.8",
project_urls={
"Documentation": "https://github.com/Textualize/py-tree-sitter-languages",
"Source": "https://github.com/Textualize/py-tree-sitter-languages",
Expand Down

0 comments on commit a636602

Please sign in to comment.