diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 16f0ea9..a7e9c4f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 . diff --git a/.gitignore b/.gitignore index 518fcba..352dd3a 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ .idea/ __pycache__ *.tmp/ +*.egg_info diff --git a/pyproject.toml b/pyproject.toml index e34796e..ca470e1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 \ No newline at end of file +line-length = 120