diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 5eb3436..51b71f9 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: - python-version: [ 3.8, 3.9, "3.10", "3.11" ] + python-version: [ 3.8, 3.9, "3.10", "3.11", 3.12 ] os: [ ubuntu-latest, macos-latest, windows-latest ] steps: diff --git a/.gitignore b/.gitignore index 6da3320..1518494 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,7 @@ debug/ *.DS_Store tickets .idea +harlogger/_version.py diff --git a/pyproject.toml b/pyproject.toml index c35e0a3..a927079 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,5 @@ [project] name = "harlogger" -version = "4.0.2" description = "Simple utlity for sniffing decrypted HTTP/HTTPS traffic on an iOS device (either jailbroken or not)" readme = "README.md" requires-python = ">=3.8" @@ -25,7 +24,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3 :: Only", ] -dynamic = ["dependencies"] +dynamic = ["dependencies", "version"] [project.optional-dependencies] test = ["pytest"] @@ -42,7 +41,11 @@ exclude = ["docs*", "tests*"] [tool.setuptools.dynamic] dependencies = { file = ["requirements.txt"] } +version = {attr = "harlogger._version.__version__"} + +[tool.setuptools_scm] +version_file = "harlogger/_version.py" [build-system] -requires = ["setuptools>=43.0.0", "wheel"] +requires = ["setuptools>=43.0.0", "setuptools_scm>=8", "wheel"] build-backend = "setuptools.build_meta"