From 448e2c1f3c1bb638a3ea8e356b20bf21045c6b82 Mon Sep 17 00:00:00 2001 From: Andrew Grigorev Date: Thu, 5 Sep 2024 22:58:49 +0300 Subject: [PATCH] Update --- .github/workflows/release.yml | 6 +----- .gitignore | 2 ++ LICENSE | 2 +- pyproject.toml | 21 +++++++++++++++------ 4 files changed, 19 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0caaaf7..5f48632 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,12 +25,8 @@ jobs: needs: build strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13.0-rc.1"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13.0-rc.1"] os: [ubuntu-latest, macos-13, macos-latest, windows-latest] - exclude: - # no 3.7 on arm64 macos - - os: macos-latest - python-version: "3.7" runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 diff --git a/.gitignore b/.gitignore index 72364f9..f6e9f85 100644 --- a/.gitignore +++ b/.gitignore @@ -87,3 +87,5 @@ ENV/ # Rope project settings .ropeproject + +flask_shell_ipython-*/ diff --git a/LICENSE b/LICENSE index 472d077..7784032 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -The MIT License (MIT) +MIT License Copyright (c) 2016 Andrew Grigorev diff --git a/pyproject.toml b/pyproject.toml index f164c24..76e81ab 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,26 +1,27 @@ [build-system] -requires = ["hatchling"] +requires = ["hatchling==1.25.0"] build-backend = "hatchling.build" [project] name = "flask-shell-ipython" -version = "0.5.2.post1" +version = "0.5.2.post2" description = "Replace default `flask shell` command by similar command running IPython." readme = "README.md" readme-content-type = "text/markdown" -requires-python = ">=3.6" -license = { file = "LICENSE" } +requires-python = ">=3.8, <4.0" +license = "MIT" +# expect `license-files` field to break on any new version of hatch, because +# PEP-639 is already changed from this structure as of the time of writing +license-files = { paths = ["LICENSE"] } authors = [ { name = "Andrew Grigorev", email = "andrew@ei-grad.ru" } ] -homepage = "https://github.com/ei-grad/flask-shell-ipython" classifiers = [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Framework :: Flask", "Framework :: IPython", "Intended Audience :: Developers", - "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", ] @@ -30,5 +31,13 @@ dependencies = [ "IPython>=5.0.0" ] +[project.urls] +Home = "https://github.com/ei-grad/flask-shell-ipython" + [project.entry-points."flask.commands"] shell = "flask_shell_ipython:shell" + +[tool.hatch.build.targets.sdist] +exclude = [ + ".github", +]