Skip to content

Commit

Permalink
Updated to pyTooling v6.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
Paebbels committed Jan 15, 2024
1 parent dd0411d commit f5f53a9
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ jobs:
- PublishTestResults
- PublishCoverageResults
- PublishToGitHubPages
- PublishOnPyPI
# - PublishOnPyPI
with:
package: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).package_all }}
remaining: |
Expand Down
2 changes: 1 addition & 1 deletion doc/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# XXX: because of missing dependency in pyTooling
setuptools >= 69.0.0

pyTooling >= 5.0.0, < 6.0
pyTooling ~= 6.0
colorama >= 0.4.6

# Enforce latest version on ReadTheDocs
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
requires = [
"setuptools >= 69.0.0",
"wheel >= 0.40.0",
"pyTooling >= 5.0.0"
"pyTooling ~= 6.0"
]
build-backend = "setuptools.build_meta"

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pyTooling ~= 5.0
pyTooling ~= 6.0

sphinx >= 6.0, < 8.0

Expand Down
10 changes: 6 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@
# SPDX-License-Identifier: Apache-2.0 #
# ==================================================================================================================== #
#
"""Package installer for 'Write version information for any programming language as source file'."""
"""Package installer for 'A Sphinx extension providing reports and summaries embedded in documentation pages'."""
from setuptools import setup

from pathlib import Path
from pyTooling.Packaging import DescribePythonPackageHostedOnGitHub, DEFAULT_CLASSIFIERS

Expand All @@ -37,9 +39,9 @@
packageDirectory = packageName.replace(".", "/")
packageInformationFile = Path(f"{packageDirectory}/__init__.py")

DescribePythonPackageHostedOnGitHub(
setup(**DescribePythonPackageHostedOnGitHub(
packageName=packageName,
description="A Sphinx extension providing coverage details embedded in documentation pages.",
description="A Sphinx extension providing reports and summaries embedded in documentation pages.",
gitHubNamespace=gitHubNamespace,
sourceFileWithVersion=packageInformationFile,
classifiers=list(DEFAULT_CLASSIFIERS) + [
Expand All @@ -55,4 +57,4 @@
dataFiles={
"sphinx_reports": ["static/*.css"]
}
)
))

0 comments on commit f5f53a9

Please sign in to comment.