Skip to content

Commit 92a6f95

Browse files
authored
v0.6.2
2 parents 968c1dc + 93aeb96 commit 92a6f95

File tree

11 files changed

+82
-63
lines changed

11 files changed

+82
-63
lines changed

.github/workflows/Pipeline.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,16 @@ on:
99

1010
jobs:
1111
Pipeline:
12-
uses: pyTooling/Actions/.github/workflows/CompletePipeline.yml@dev
12+
uses: pyTooling/Actions/.github/workflows/CompletePipeline.yml@r6
1313
with:
14-
package_namespace: pyEDAA
15-
package_name: IPXACT
16-
codecov: true
17-
codacy: true
18-
dorny: true
19-
cleanup: false
14+
package_namespace: 'pyEDAA'
15+
package_name: 'IPXACT'
16+
bandit: 'true'
17+
pylint: 'false'
18+
codecov: 'true'
19+
codacy: 'true'
20+
dorny: 'true'
21+
cleanup: 'false'
2022
secrets:
2123
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
2224
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

.idea/pyEDAA.IPXACT.iml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
wheel ~= 0.45
2-
twine ~= 6.1
2+
twine ~= 6.2

doc/Dependency.rst

Lines changed: 13 additions & 13 deletions
Large diffs are not rendered by default.

doc/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ sphinx_rtd_theme ~= 3.0
1212
sphinxcontrib-mermaid ~= 1.0
1313
autoapi >= 2.0.1
1414
sphinx_design ~= 0.6.1
15-
sphinx-copybutton >= 0.5.2
16-
sphinx_autodoc_typehints ~= 3.2
15+
sphinx-copybutton >= 0.5
16+
sphinx_autodoc_typehints ~= 3.5
1717
sphinx_reports ~= 0.9

pyEDAA/IPXACT/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
__email__ = "Paebbels@gmail.com"
4949
__copyright__ = "2016-2025, Patrick Lehmann"
5050
__license__ = "Apache License, Version 2.0"
51-
__version__ = "0.6.1"
51+
__version__ = "0.6.2"
5252

5353

5454
@export

pyproject.toml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,30 @@
22
requires = [
33
"setuptools >= 80.0",
44
"wheel ~= 0.45",
5-
"pyTooling ~= 8.4"
5+
"pyTooling ~= 8.7"
66
]
77
build-backend = "setuptools.build_meta"
88

9-
[tool.black]
10-
line-length = 120
9+
[tool.pylint.format]
10+
indent-string="\t"
11+
max-line-length = 120
12+
ignore-long-lines = "^.{0,110}#: .*"
13+
14+
[tool.pylint.basic]
15+
argument-naming-style = "camelCase"
16+
attr-naming-style = "camelCase"
17+
class-attribute-naming-style = "camelCase"
18+
class-const-naming-style = "UPPER_CASE"
19+
class-naming-style = "PascalCase"
20+
const-naming-style = "UPPER_CASE"
21+
function-naming-style = "camelCase"
22+
inlinevar-naming-style = "camelCase"
23+
method-naming-style = "PascalCase"
24+
module-naming-style = "any"
25+
variable-naming-style = "camelCase"
1126

1227
[tool.mypy]
13-
files = ["pyEDAA.IPXACT"]
28+
packages = ["pyEDAA.IPXACT"]
1429
python_version = "3.13"
1530
#ignore_missing_imports = true
1631
strict = true

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
lxml ~= 5.4
2-
pyTooling ~= 8.4
1+
lxml >= 5.4, <7.0
2+
pyTooling ~= 8.7

run.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Param(
3333
)
3434

3535
$PackageName = "pyEDAA.IPXACT"
36-
$PackageVersion = "0.6.1"
36+
$PackageVersion = "0.6.2"
3737

3838
# set default values
3939
$EnableDebug = [bool]$PSCmdlet.MyInvocation.BoundParameters["Debug"]
@@ -89,7 +89,7 @@ if ($build)
8989
rm -Force .\build\bdist.win-amd64
9090
rm -Force .\build\lib
9191
Write-Host -ForegroundColor Yellow "[live][BUILD] Building $PackageName package as wheel ..."
92-
py -3.13 -m build --wheel
92+
py -3.13 -m build --wheel --no-isolation
9393

9494
Write-Host -ForegroundColor Yellow "[live][BUILD] Building wheel finished"
9595
}
@@ -105,7 +105,7 @@ if ($install)
105105
{ Write-Host -ForegroundColor Cyan "[ADMIN][UNINSTALL] Uninstalling $PackageName ..."
106106
py -3.13 -m pip uninstall -y $PackageName
107107
Write-Host -ForegroundColor Cyan "[ADMIN][INSTALL] Installing $PackageName from wheel ..."
108-
py -3.13 -m pip install .\dist\$PackageName-$PackageVersion-py3-none-any.whl
108+
py -3.13 -m pip install .\dist\$($PackageName.Replace(".", "_").ToLower())-$PackageVersion-py3-none-any.whl
109109

110110
Write-Host -ForegroundColor Cyan "[ADMIN][INSTALL] Closing window in 5 seconds ..."
111111
Start-Sleep -Seconds 5

setup.py

Lines changed: 25 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -41,27 +41,29 @@
4141
packageDirectory = packageName.replace(".", "/")
4242
packageInformationFile = Path(f"{packageDirectory}/__init__.py")
4343

44-
setup(**DescribePythonPackageHostedOnGitHub(
45-
packageName=packageName,
46-
description="A Document-Object-Model (DOM) for IP-XACT files.",
47-
gitHubNamespace=gitHubNamespace,
48-
sourceFileWithVersion=packageInformationFile,
49-
developmentStatus="alpha",
50-
classifiers=list(DEFAULT_CLASSIFIERS) + [
51-
"Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)"
52-
],
53-
dataFiles={
54-
packageName: [
55-
str(file.relative_to(Path.cwd() / "pyEDAA/IPXACT")) for file in chain(
56-
Path.cwd().glob("pyEDAA/IPXACT/Schema/ipxact-*/*.xsd"),
57-
Path.cwd().glob("pyEDAA/IPXACT/Schema/ipxact-*/README.md"),
58-
Path.cwd().glob("pyEDAA/IPXACT/Schema/ieee-1685-*/*.xsd"),
59-
Path.cwd().glob("pyEDAA/IPXACT/Schema/ieee-1685-*/README.md"),
60-
Path.cwd().glob("pyEDAA/IPXACT/Schema/ieee-1685-*/LICENSE"),
61-
Path.cwd().glob("pyEDAA/IPXACT/Schema/ieee-1685-*/NOTICE"),
62-
Path.cwd().glob("pyEDAA/IPXACT/Schema/*.md"),
63-
Path.cwd().glob("pyEDAA/IPXACT/py.typed")
64-
)
44+
setup(
45+
**DescribePythonPackageHostedOnGitHub(
46+
packageName=packageName,
47+
description="A Document-Object-Model (DOM) for IP-XACT files.",
48+
gitHubNamespace=gitHubNamespace,
49+
sourceFileWithVersion=packageInformationFile,
50+
developmentStatus="alpha",
51+
classifiers=list(DEFAULT_CLASSIFIERS) + [
52+
"Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)"
6553
],
66-
}
67-
))
54+
dataFiles={
55+
packageName: [
56+
str(file.relative_to(Path.cwd() / "pyEDAA/IPXACT")) for file in chain(
57+
Path.cwd().glob("pyEDAA/IPXACT/Schema/ipxact-*/*.xsd"),
58+
Path.cwd().glob("pyEDAA/IPXACT/Schema/ipxact-*/README.md"),
59+
Path.cwd().glob("pyEDAA/IPXACT/Schema/ieee-1685-*/*.xsd"),
60+
Path.cwd().glob("pyEDAA/IPXACT/Schema/ieee-1685-*/README.md"),
61+
Path.cwd().glob("pyEDAA/IPXACT/Schema/ieee-1685-*/LICENSE"),
62+
Path.cwd().glob("pyEDAA/IPXACT/Schema/ieee-1685-*/NOTICE"),
63+
Path.cwd().glob("pyEDAA/IPXACT/Schema/*.md"),
64+
Path.cwd().glob("pyEDAA/IPXACT/py.typed")
65+
)
66+
],
67+
}
68+
)
69+
)

0 commit comments

Comments
 (0)