PyMieSimX 0.4.4__tar.gz → 0.4.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/.github/workflows/deploy_coverage.yml +1 -1
- pymiesimx-0.4.6/.github/workflows/deploy_documentation.yml +20 -0
- pymiesimx-0.4.6/.github/workflows/deploy_release.yml +34 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/.github/workflows/quality.yml +2 -2
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/.github/workflows/tests.yml +1 -1
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PKG-INFO +3 -3
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX.egg-info/PKG-INFO +3 -3
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX.egg-info/requires.txt +2 -2
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX.egg-info/scm_version.json +2 -2
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/docs/source/conf.py +2 -12
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/pyproject.toml +2 -2
- pymiesimx-0.4.4/.github/workflows/deploy_documentation.yml +0 -116
- pymiesimx-0.4.4/.github/workflows/deploy_release.yml +0 -30
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/.coveragerc +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/.flake8 +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/.github/dependabot.yml +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/.gitignore +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/.pre-commit-config.yaml +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/AGENTS.md +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/CONTRIBUTING.md +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/Dockerfile +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/LICENSE +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/__init__.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/__main__.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/api.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/application/__init__.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/application/wsgi.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/__init__.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/admin.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/assets/card-state.js +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/assets/dashboard.css +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/assets/default-settings.json +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/assets/home-spf-radial.gif +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/assets/home-spf-radial.png +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/assets/logo.png +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/assets/materials-stock.json +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/assets/pymiesim-favicon.svg +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/assets/pymiesim-logo-dark.svg +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/assets/pymiesim-logo.svg +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/assets/simulation-sharing.js +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/callback_helpers.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/callbacks.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/components/__init__.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/components/cards.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/computation.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/defaults.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/experiment_service.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/interface.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/jobs.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/layout.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/material_catalog.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/models.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/pages/__init__.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/pages/citation.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/pages/documentation.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/pages/examples.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/pages/experiment/__init__.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/pages/experiment/page.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/pages/experiment/sections/__init__.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/pages/experiment/sections/configuration.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/pages/field_syntax.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/pages/home.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/pages/install_local.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/pages/population.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/pages/sellmeier.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/pages/settings.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/pages/single/__init__.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/pages/single/page.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/pages/single/sections/__init__.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/pages/single/sections/representations.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/pages/single/sections/setup.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/parsing.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/plotting.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/population_service.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/schemas.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/seo.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/services.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/sharing.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/single_service.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/usage_metrics.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/validation.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX.egg-info/SOURCES.txt +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX.egg-info/dependency_links.txt +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX.egg-info/entry_points.txt +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX.egg-info/scm_file_list.json +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX.egg-info/top_level.txt +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/README.rst +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/conda.recipe/meta.yaml +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/docs/redirect.html +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/docs/source/_static/favicon.svg +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/docs/source/_static/logo.svg +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/docs/source/api.rst +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/docs/source/contributing.rst +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/docs/source/getting_started.rst +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/docs/source/gui.rst +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/docs/source/how_it_works.rst +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/docs/source/index.rst +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/docs/source/project.rst +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/docs/source/reference.rst +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/docs/source/sharing.rst +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/makefile +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/pytest.ini +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/setup.cfg +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/tests/browser/test_dashboard.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/tests/gui/cli.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/tests/gui/test_admin.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/tests/gui/test_api.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/tests/gui/test_dash_callbacks.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/tests/gui/test_examples.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/tests/gui/test_home.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/tests/gui/test_population.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/tests/gui/test_seo.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/tests/gui/test_services.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/tests/gui/test_sharing.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/tests/gui/test_usage_metrics.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/tools/generate_home_spf.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/tools/next_release_version.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/tools/release_tag.py +0 -0
- {pymiesimx-0.4.4 → pymiesimx-0.4.6}/tools/verify_conda_artifact.py +0 -0
|
@@ -17,7 +17,7 @@ jobs:
|
|
|
17
17
|
runs-on: ubuntu-latest
|
|
18
18
|
steps:
|
|
19
19
|
- name: Set up Python and CI dependencies
|
|
20
|
-
uses: MartinPdeS/MPSActions/actions/setup-python@
|
|
20
|
+
uses: MartinPdeS/MPSActions/actions/setup-python@v2
|
|
21
21
|
with:
|
|
22
22
|
python-version: "3.11"
|
|
23
23
|
install-command: >-
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
name: Documentation
|
|
2
|
+
'on':
|
|
3
|
+
push:
|
|
4
|
+
branches:
|
|
5
|
+
- '**'
|
|
6
|
+
pull_request:
|
|
7
|
+
branches:
|
|
8
|
+
- master
|
|
9
|
+
permissions:
|
|
10
|
+
contents: read
|
|
11
|
+
jobs:
|
|
12
|
+
documentation:
|
|
13
|
+
permissions:
|
|
14
|
+
contents: read
|
|
15
|
+
uses: MartinPdeS/MPSActions/.github/workflows/build_documentation.yml@v2
|
|
16
|
+
with:
|
|
17
|
+
python-version: '3.11'
|
|
18
|
+
package-name: PyMieSimX
|
|
19
|
+
apt-package: xvfb jq
|
|
20
|
+
debug: true
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
name: Publish release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags: ["v*"]
|
|
6
|
+
|
|
7
|
+
permissions:
|
|
8
|
+
contents: read
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
release:
|
|
12
|
+
permissions:
|
|
13
|
+
contents: write
|
|
14
|
+
pages: write
|
|
15
|
+
id-token: write
|
|
16
|
+
uses: MartinPdeS/MPSActions/.github/workflows/publish_release.yml@v2
|
|
17
|
+
with:
|
|
18
|
+
documentation: true
|
|
19
|
+
documentation_package_name: PyMieSimX
|
|
20
|
+
documentation_python_version: "3.11"
|
|
21
|
+
documentation_apt_package: xvfb jq
|
|
22
|
+
documentation_retain_versions: 5
|
|
23
|
+
debug: true
|
|
24
|
+
pypi_package_type: pure
|
|
25
|
+
pypi_python_version: "3.11"
|
|
26
|
+
pypi_test_command: 'python -c "import PyMieSimX"'
|
|
27
|
+
conda_python_versions: '["3.11", "3.12", "3.13", "3.14"]'
|
|
28
|
+
conda_os_list: '["ubuntu-latest", "macos-latest", "windows-latest"]'
|
|
29
|
+
conda_package_name: pymiesimx
|
|
30
|
+
conda_recipe_path: conda.recipe
|
|
31
|
+
conda_test_import: PyMieSimX
|
|
32
|
+
secrets:
|
|
33
|
+
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
|
|
34
|
+
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
|
|
@@ -17,7 +17,7 @@ jobs:
|
|
|
17
17
|
python-version: ["3.11", "3.13"]
|
|
18
18
|
steps:
|
|
19
19
|
- name: Set up Python and CI dependencies
|
|
20
|
-
uses: MartinPdeS/MPSActions/actions/setup-python@
|
|
20
|
+
uses: MartinPdeS/MPSActions/actions/setup-python@v2
|
|
21
21
|
with:
|
|
22
22
|
python-version: "${{ matrix.python-version }}"
|
|
23
23
|
install-command: >-
|
|
@@ -35,7 +35,7 @@ jobs:
|
|
|
35
35
|
runs-on: ubuntu-latest
|
|
36
36
|
steps:
|
|
37
37
|
- name: Set up Python and CI dependencies
|
|
38
|
-
uses: MartinPdeS/MPSActions/actions/setup-python@
|
|
38
|
+
uses: MartinPdeS/MPSActions/actions/setup-python@v2
|
|
39
39
|
with:
|
|
40
40
|
python-version: "3.11"
|
|
41
41
|
install-command: >-
|
|
@@ -18,7 +18,7 @@ jobs:
|
|
|
18
18
|
python-version: ["3.11", "3.14"]
|
|
19
19
|
steps:
|
|
20
20
|
- name: Set up Python and CI dependencies
|
|
21
|
-
uses: MartinPdeS/MPSActions/actions/setup-python@
|
|
21
|
+
uses: MartinPdeS/MPSActions/actions/setup-python@v2
|
|
22
22
|
with:
|
|
23
23
|
python-version: "${{ matrix.python-version }}"
|
|
24
24
|
install-command: >-
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PyMieSimX
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.6
|
|
4
4
|
Summary: Graphical Dash interface for PyMieSim.
|
|
5
5
|
Author-email: Martin Poinsinet de Sivry-Houle <martin.poinsinet.de.sivry@gmail.com>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -32,9 +32,9 @@ Requires-Dist: build>=1.2; extra == "dev"
|
|
|
32
32
|
Requires-Dist: mypy==1.15.0; extra == "dev"
|
|
33
33
|
Requires-Dist: ruff==0.11.2; extra == "dev"
|
|
34
34
|
Provides-Extra: docs
|
|
35
|
-
Requires-Dist: MartinPdeS-docs<0.3,>=0.2.
|
|
35
|
+
Requires-Dist: MartinPdeS-docs<0.3,>=0.2.5; extra == "docs"
|
|
36
36
|
Provides-Extra: documentation
|
|
37
|
-
Requires-Dist: MartinPdeS-docs<0.3,>=0.2.
|
|
37
|
+
Requires-Dist: MartinPdeS-docs<0.3,>=0.2.5; extra == "documentation"
|
|
38
38
|
Dynamic: license-file
|
|
39
39
|
|
|
40
40
|
PyMieSimX
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PyMieSimX
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.6
|
|
4
4
|
Summary: Graphical Dash interface for PyMieSim.
|
|
5
5
|
Author-email: Martin Poinsinet de Sivry-Houle <martin.poinsinet.de.sivry@gmail.com>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -32,9 +32,9 @@ Requires-Dist: build>=1.2; extra == "dev"
|
|
|
32
32
|
Requires-Dist: mypy==1.15.0; extra == "dev"
|
|
33
33
|
Requires-Dist: ruff==0.11.2; extra == "dev"
|
|
34
34
|
Provides-Extra: docs
|
|
35
|
-
Requires-Dist: MartinPdeS-docs<0.3,>=0.2.
|
|
35
|
+
Requires-Dist: MartinPdeS-docs<0.3,>=0.2.5; extra == "docs"
|
|
36
36
|
Provides-Extra: documentation
|
|
37
|
-
Requires-Dist: MartinPdeS-docs<0.3,>=0.2.
|
|
37
|
+
Requires-Dist: MartinPdeS-docs<0.3,>=0.2.5; extra == "documentation"
|
|
38
38
|
Dynamic: license-file
|
|
39
39
|
|
|
40
40
|
PyMieSimX
|
|
@@ -37,21 +37,11 @@ globals().update(
|
|
|
37
37
|
repository=repository,
|
|
38
38
|
logo="_static/logo.svg",
|
|
39
39
|
favicon="_static/favicon.svg",
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
"sphinx.ext.autosummary",
|
|
43
|
-
"sphinx.ext.intersphinx",
|
|
44
|
-
"sphinx.ext.napoleon",
|
|
45
|
-
"sphinx.ext.viewcode",
|
|
46
|
-
"sphinx.ext.todo",
|
|
47
|
-
"sphinx_design",
|
|
48
|
-
],
|
|
40
|
+
include_gallery=False,
|
|
41
|
+
autodoc_default_options={"members": True},
|
|
49
42
|
)
|
|
50
43
|
)
|
|
51
44
|
|
|
52
|
-
autodoc_default_options.update({"members": True})
|
|
53
|
-
html_context.update({"doc_path": "docs/source", "default_mode": "dark"})
|
|
54
|
-
|
|
55
45
|
intersphinx_mapping = {
|
|
56
46
|
"numpy": ("https://numpy.org/devdocs", None),
|
|
57
47
|
"pandas": ("https://pandas.pydata.org/docs", None),
|
|
@@ -53,10 +53,10 @@ dev = [
|
|
|
53
53
|
"ruff==0.11.2",
|
|
54
54
|
]
|
|
55
55
|
docs = [
|
|
56
|
-
"MartinPdeS-docs>=0.2.
|
|
56
|
+
"MartinPdeS-docs>=0.2.5,<0.3",
|
|
57
57
|
]
|
|
58
58
|
documentation = [
|
|
59
|
-
"MartinPdeS-docs>=0.2.
|
|
59
|
+
"MartinPdeS-docs>=0.2.5,<0.3",
|
|
60
60
|
]
|
|
61
61
|
|
|
62
62
|
[tool.setuptools.packages.find]
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
# Build and publish the versioned documentation site.
|
|
2
|
-
name: Documentation
|
|
3
|
-
|
|
4
|
-
on:
|
|
5
|
-
push:
|
|
6
|
-
branches: ["**"]
|
|
7
|
-
tags: ["v*"]
|
|
8
|
-
pull_request:
|
|
9
|
-
branches: ["master"]
|
|
10
|
-
|
|
11
|
-
concurrency:
|
|
12
|
-
group: documentation-build-${{ github.repository }}
|
|
13
|
-
cancel-in-progress: false
|
|
14
|
-
|
|
15
|
-
permissions:
|
|
16
|
-
contents: write
|
|
17
|
-
pages: write
|
|
18
|
-
id-token: write
|
|
19
|
-
|
|
20
|
-
jobs:
|
|
21
|
-
ManyLinux_x86_64:
|
|
22
|
-
uses: MartinPdeS/MPSActions/.github/workflows/publish_documentation.yml@a01969bc5af90666281f9d37acffdf6a4629763a
|
|
23
|
-
with:
|
|
24
|
-
python-version: "3.11"
|
|
25
|
-
package-name: "PyMieSimX"
|
|
26
|
-
apt-package: xvfb jq
|
|
27
|
-
deploy-pages: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v')) }}
|
|
28
|
-
|
|
29
|
-
prune_documentation_versions:
|
|
30
|
-
needs: ManyLinux_x86_64
|
|
31
|
-
if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v')) }}
|
|
32
|
-
runs-on: ubuntu-latest
|
|
33
|
-
env:
|
|
34
|
-
DOCUMENTATION_BRANCH: documentation_page
|
|
35
|
-
VERSION_RETENTION_COUNT: 5
|
|
36
|
-
|
|
37
|
-
steps:
|
|
38
|
-
- name: Checkout documentation branch
|
|
39
|
-
uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09
|
|
40
|
-
with:
|
|
41
|
-
fetch-depth: 0
|
|
42
|
-
ref: ${{ env.DOCUMENTATION_BRANCH }}
|
|
43
|
-
|
|
44
|
-
- name: Retain only the newest documentation versions
|
|
45
|
-
run: |
|
|
46
|
-
set -Eeuo pipefail
|
|
47
|
-
|
|
48
|
-
mapfile -t versions < <(
|
|
49
|
-
find docs \
|
|
50
|
-
-mindepth 1 \
|
|
51
|
-
-maxdepth 1 \
|
|
52
|
-
-type d \
|
|
53
|
-
-printf "%f\n" \
|
|
54
|
-
| grep -v "^latest$" \
|
|
55
|
-
| sort -V -r
|
|
56
|
-
)
|
|
57
|
-
|
|
58
|
-
for version in "${versions[@]:${VERSION_RETENTION_COUNT}}"; do
|
|
59
|
-
git rm -r -- "docs/${version}"
|
|
60
|
-
done
|
|
61
|
-
|
|
62
|
-
- name: Install documentation landing page
|
|
63
|
-
run: |
|
|
64
|
-
set -Eeuo pipefail
|
|
65
|
-
git show "${GITHUB_SHA}:docs/redirect.html" > index.html
|
|
66
|
-
test -s docs/latest/index.html
|
|
67
|
-
|
|
68
|
-
- name: Rebuild version switcher
|
|
69
|
-
run: |
|
|
70
|
-
set -Eeuo pipefail
|
|
71
|
-
|
|
72
|
-
base_url="https://martinpdes.github.io/PyMieSimX/docs"
|
|
73
|
-
mapfile -t versions < <(
|
|
74
|
-
find docs \
|
|
75
|
-
-mindepth 1 \
|
|
76
|
-
-maxdepth 1 \
|
|
77
|
-
-type d \
|
|
78
|
-
-printf "%f\n" \
|
|
79
|
-
| grep -v "^latest$" \
|
|
80
|
-
| sort -V -r
|
|
81
|
-
)
|
|
82
|
-
|
|
83
|
-
jq -n \
|
|
84
|
-
--arg base_url "${base_url}" \
|
|
85
|
-
--argjson versions "$(printf '%s\n' "${versions[@]}" | jq -R . | jq -s .)" \
|
|
86
|
-
'[
|
|
87
|
-
{
|
|
88
|
-
name: "latest",
|
|
89
|
-
version: "latest",
|
|
90
|
-
url: ($base_url + "/latest")
|
|
91
|
-
}
|
|
92
|
-
] + [
|
|
93
|
-
$versions[] | {
|
|
94
|
-
name: .,
|
|
95
|
-
version: .,
|
|
96
|
-
url: ($base_url + "/" + .)
|
|
97
|
-
}
|
|
98
|
-
]' > version_switcher.json
|
|
99
|
-
|
|
100
|
-
jq . version_switcher.json
|
|
101
|
-
|
|
102
|
-
- name: Commit pruned documentation
|
|
103
|
-
run: |
|
|
104
|
-
set -Eeuo pipefail
|
|
105
|
-
|
|
106
|
-
git config user.name "github-actions[bot]"
|
|
107
|
-
git config user.email "github-actions[bot]@users.noreply.github.com"
|
|
108
|
-
git add index.html version_switcher.json
|
|
109
|
-
|
|
110
|
-
if git diff --cached --quiet; then
|
|
111
|
-
echo "Documentation landing page and retention policy are up to date."
|
|
112
|
-
exit 0
|
|
113
|
-
fi
|
|
114
|
-
|
|
115
|
-
git commit -m "Update documentation landing page and retain ${VERSION_RETENTION_COUNT} versions [skip ci]"
|
|
116
|
-
git push origin "HEAD:${DOCUMENTATION_BRANCH}"
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
name: Publish release
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
tags: ["v*"]
|
|
6
|
-
|
|
7
|
-
permissions:
|
|
8
|
-
contents: read
|
|
9
|
-
|
|
10
|
-
jobs:
|
|
11
|
-
pypi:
|
|
12
|
-
name: Publish to PyPI
|
|
13
|
-
uses: MartinPdeS/MPSActions/.github/workflows/publish_pure_package_to_PyPi.yml@a01969bc5af90666281f9d37acffdf6a4629763a
|
|
14
|
-
with:
|
|
15
|
-
python-version: "3.11"
|
|
16
|
-
test-command: python -c "import PyMieSimX"
|
|
17
|
-
secrets:
|
|
18
|
-
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
|
|
19
|
-
|
|
20
|
-
conda:
|
|
21
|
-
name: Publish Conda package
|
|
22
|
-
uses: MartinPdeS/MPSActions/.github/workflows/publish_compiled_package_to_anaconda.yml@a01969bc5af90666281f9d37acffdf6a4629763a
|
|
23
|
-
with:
|
|
24
|
-
python_versions: '["3.11", "3.12", "3.13", "3.14"]'
|
|
25
|
-
os_list: '["ubuntu-latest", "macos-latest", "windows-latest"]'
|
|
26
|
-
package_name: pymiesimx
|
|
27
|
-
recipe_path: conda.recipe
|
|
28
|
-
test_import: PyMieSimX
|
|
29
|
-
secrets:
|
|
30
|
-
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pymiesimx-0.4.4 → pymiesimx-0.4.6}/PyMieSimX/gui/pages/experiment/sections/configuration.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|