Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,18 @@ jobs:
- name: Run black
run: black --check --diff .
tests-ubuntu:
strategy:
matrix:
python-version: [ "3.13", "3.14" ]
name: Tests (Ubuntu)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
python-version: ${{ matrix.python-version }}
architecture: 'x64'
- name: Install requirements
run: |
pip install numpy~=1.26 numba~=0.60 scipy~=1.14
pip install pytest~=8.3
run: pip install .
- name: Run tests
run: pytest .
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
.idea/
__pycache__
*.tmp/
*.egg_info
28 changes: 27 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,28 @@
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools"]

[project]
# https://packaging.python.org/en/latest/specifications/declaring-project-metadata/
name = "fedimser-math"
version = "0.1.0"
description = "Mathematical projects"
readme = "README.md"
requires-python = ">=3.13"
license = "MIT"
authors = [{ name = "Dima Fedoriaka" }]

# https://peps.python.org/pep-0508/
dependencies = [
"numba>=0.67",
"numpy>=2.5",
"pytest>=8.4.0",
"scipy>=1.18",
]

[tool.setuptools.packages.find]
where = ["."]
include = ["numopt*", "remez*", "rubiks-snake*"]

[tool.black]
line-length = 120
line-length = 120
Loading