Skip to content

Commit

Permalink
refactor package build
Browse files Browse the repository at this point in the history
  • Loading branch information
doronz88 committed Jan 30, 2024
1 parent db41a1d commit 88ed65a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ debug/
*.DS_Store
tickets
.idea
harlogger/_version.py



9 changes: 6 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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"]
Expand All @@ -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"

0 comments on commit 88ed65a

Please sign in to comment.