Skip to content

Commit 3c92a9b

Browse files
committed
added pyproject.toml
1 parent e4d56fe commit 3c92a9b

File tree

4 files changed

+18
-3
lines changed

4 files changed

+18
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
14+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
1515

1616
steps:
1717
- name: Check out repository
@@ -26,12 +26,12 @@ jobs:
2626
- name: Install dependencies
2727
run: |
2828
python -m pip install --upgrade pip
29+
pip install -e .
2930
pip install -r requirements.txt
3031
3132
- name: Run tests with coverage
3233
run: |
33-
export PYTHONPATH="$PYTHONPATH:$GITHUB_WORKSPACE"
34-
pytest --cov=kexxu_eye_sdk --cov-report=xml --cov-report=term-missing --cov-fail-under=50
34+
python -m pytest --cov=kexxu_eye_sdk --cov-report=xml --cov-report=term-missing --cov-fail-under=50
3535
3636
- name: Upload coverage to Codecov
3737
uses: codecov/codecov-action@v5

pyproject.toml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[build-system]
2+
requires = ["setuptools>=68", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "kexxu-eye-sdk"
7+
version = "0.1.0"
8+
requires-python = ">=3.8"
9+
10+
[tool.setuptools]
11+
package-dir = {"" = "src"}
12+
13+
[tool.setuptools.packages.find]
14+
where = ["src"]
15+

0 commit comments

Comments
 (0)