diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b6cd5a5..53a19a1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,9 +6,6 @@ on: paths: - "src/**" - "test/**" - - "**.py" - - "**.gpx" - - "**.sh" - "pyproject.toml" - ".github/workflows/ci.yml" pull_request: @@ -16,9 +13,6 @@ on: paths: - "src/**" - "test/**" - - "**.py" - - "**.gpx" - - "**.sh" - "pyproject.toml" - ".github/workflows/ci.yml" @@ -32,6 +26,9 @@ jobs: steps: - uses: actions/checkout@v4 + with: + fetch-tags: "true" + fetch-depth: "9" - name: Set up Python uses: actions/setup-python@v5 with: diff --git a/pyproject.toml b/pyproject.toml index 8807d88..64707b9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,12 +1,11 @@ [project] name = "ezon-gpx" -version = "1.0.0" -authors = [{ name = "Uiolee" }] -maintainers = [{ name = "Uiolee" }] +authors = [{ name = "uiolee" }] +maintainers = [{ name = "uiolee" }] description = "convert Ezon gpx files." keywords = ["ezon", "gpx", "xml", "running_page"] readme = "README.md" -license = { text = "MPL-2.0" } +license = { text = "MPL 2.0" } classifiers = [ "Development Status :: 4 - Beta", @@ -26,9 +25,19 @@ classifiers = [ "Programming Language :: Python :: 3.11", ] +dynamic = ["version"] + [project.urls] Homepage = "https://github.com/uiolee/ezon-gpx" +Repository = "https://github.com/uiolee/ezon-gpx.git" Issues = "https://github.com/uiolee/ezon-gpx/issues" [project.scripts] ezon-gpx = "cli:cli" + +[build-system] +requires = ["setuptools>=64", "setuptools_scm>=8"] +build-backend = "setuptools.build_meta" + +[tool.setuptools_scm] +local_scheme = 'no-local-version'