diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index dad602e..490d986 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -26,10 +26,14 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Install Python dependencies + + - name: Install the latest version of uv + uses: astral-sh/setup-uv@v7 + + - name: Install dependencies run: | - pip install -r requirements.txt - pip install -e . + uv sync --dev + uv pip install . - name: Setup Pages id: pages diff --git a/MANIFEST.in b/MANIFEST.in deleted file mode 100644 index 232f392..0000000 --- a/MANIFEST.in +++ /dev/null @@ -1,3 +0,0 @@ -include requirements.txt README.rst -include LICENSE -include CHANGES diff --git a/pyproject.toml b/pyproject.toml index 7547126..cd53eaf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,6 +28,15 @@ classifiers = [ Homepage = "https://github.com/markstory/sphinxcontrib-phpdomain" Documentation = "https://markstory.github.io/sphinxcontrib-phpdomain/" +[build-system] +requires = ["setuptools", "wheel"] +build-backend = "setuptools.build_meta" + +[tool.setuptools.packages.find] +where = ["."] +include = ["sphinxcontrib*"] +exclude = ["test*"] + [dependency-groups] dev = [ "build>=1.4.0", diff --git a/sphinxcontrib/__init__.py b/sphinxcontrib/__init__.py deleted file mode 100644 index a208188..0000000 --- a/sphinxcontrib/__init__.py +++ /dev/null @@ -1,13 +0,0 @@ -""" -sphinxcontrib -~~~~~~~~~~~~~ - -This package is a namespace package that contains all extensions -distributed in the ``sphinx-contrib`` distribution. - -:copyright: Copyright 2016-present by Mark Story and contributors. -:copyright: Copyright 2007-2009 by the Sphinx team -:license: BSD, see LICENSE for details. -""" - -__import__("pkg_resources").declare_namespace(__name__) diff --git a/uv.lock b/uv.lock index d73d77c..3bf3ea7 100644 --- a/uv.lock +++ b/uv.lock @@ -396,8 +396,8 @@ wheels = [ [[package]] name = "sphinxcontrib-phpdomain" -version = "0.15.0" -source = { virtual = "." } +version = "0.15.1" +source = { editable = "." } dependencies = [ { name = "sphinx" }, ]