Skip to content

Commit

Permalink
argh
Browse files Browse the repository at this point in the history
  • Loading branch information
shish committed Sep 3, 2024
1 parent 5b00234 commit b9f0517
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 46 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
python-version: '3.8'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: ["3.8"]

steps:
- name: Checkout
Expand Down
41 changes: 41 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
[project]
name = "sikulpy"
version = "0.0"
authors = [{ name = "Shish", email = "shish@shishnet.org" }]
description = "An implementation of Sikuli for CPython"
readme = "README.md"
requires-python = ">=3.8"
dependencies = [
"autopy>=4.0.0",
"pillow",
"numpy",
"mss",
"pyperclip",
"opencv-python",
]

[project.urls]
Homepage = "https://github.com/shish/sikulpy"

[project.optional-dependencies]
dev = ["ruff", "mypy", "pytest-cov", "types-Pillow"]

[tool.setuptools]
py-modules = ["sikuli"]

[tool.pytest.ini_options]
addopts = "--cov --cov-report term-missing --cov-fail-under 95"

[tool.coverage.run]
source = ["sikuli"]

[tool.mypy]
files = "sikuli"

[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"

[project.scripts]
sikulpy = "sikuli.run:main"
sikulpy-find = "sikuli.find:main"
44 changes: 0 additions & 44 deletions setup.py

This file was deleted.

0 comments on commit b9f0517

Please # to comment.