Skip to content

Commit

Permalink
dynamic version
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Feb 12, 2024
1 parent 5258e5a commit 8699af7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,16 @@ jobs:

linux:
runs-on: ubuntu-latest

strategy:
matrix:
python-version: [ '3.10', '3.11' ]
python-version: [ '3.10', '3.12' ]

name: Lint Python ${{ matrix.python-version }}

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ build-backend = "setuptools.build_meta"

[project]
name = "mozloc"
version = "1.6.0"
description = "Using Mozilla Location services, log location vs. time using WiFi or convert to KML."
keywords = ["wifi", "geolocation"]
classifiers = ["Development Status :: 5 - Production/Stable",
Expand All @@ -19,11 +18,12 @@ classifiers = ["Development Status :: 5 - Production/Stable",
"Topic :: Utilities"
]
requires-python = ">=3.10"
dynamic = ["readme"]
dynamic = ["readme","version"]
dependencies = ["requests", "pandas"]

[tool.setuptools.dynamic]
readme = {file = ["README.md"], content-type = "text/markdown"}
version = {attr = "mozloc.__version__"}

[project.optional-dependencies]
tests = ["pytest"]
Expand Down
2 changes: 2 additions & 0 deletions src/mozloc/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
from .base import log_wifi_loc
from .modules import get_signal, parse_signal, cli_config_check

__version__ = "1.6.0"

__all__ = ["log_wifi_loc", "get_signal", "parse_signal", "cli_config_check"]

0 comments on commit 8699af7

Please sign in to comment.