Skip to content

Commit

Permalink
Use tox-uv in the CI and replace pkg_resources (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
GianlucaFicarelli committed Mar 22, 2024
1 parent b51427c commit c0dc8ab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install --upgrade tox
python -m pip install --upgrade tox tox-uv
- name: Run tox
run: |
Expand Down
8 changes: 4 additions & 4 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
# list see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html

import importlib.metadata
import subprocess

# -- Path setup --------------------------------------------------------------

# If extensions (or modules to document with autodoc) are in another directory,
Expand All @@ -13,17 +16,14 @@
# import os
# import sys
# sys.path.insert(0, os.path.abspath('.'))
import subprocess

from pkg_resources import get_distribution


# -- Project information -----------------------------------------------------

project = "blueetl"

# The short X.Y version
version = get_distribution("blueetl").version
version = importlib.metadata.version("blueetl")

# The full version, including alpha/beta/rc tags
release = version
Expand Down

0 comments on commit c0dc8ab

Please sign in to comment.