geant4-python-application 0.1.1__tar.gz → 0.1.2__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.
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/INSTALLATION.md +24 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/PKG-INFO +24 -4
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/README.md +21 -1
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/pyproject.toml +5 -4
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/src/geant4_python_application/_version.py +3 -3
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/.clang-format +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/.cmake-format.yaml +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/.dockerignore +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/.github/CODEOWNERS +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/.github/dependabot.yaml +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/.github/workflows/build-test.yaml +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/.github/workflows/wheels.yaml +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/.gitignore +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/.pre-commit-config.yaml +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/CMakeLists.txt +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/Dockerfile +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/LICENSE +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/NOTICE +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/PYTHON_DEVELOPER_GUIDE.md +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/binder/requirements.txt +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/binder/runtime.txt +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/docs/FEATURE_SUPPORT.md +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/examples/attenuation.ipynb +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/examples/geant4-examples/00_qt_viewer_smoke.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/examples/geant4-examples/01_reference_physics_lists.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/examples/geant4-examples/02_gps_sources.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/examples/geant4-examples/03_scoring_meshes_hits.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/examples/geant4-examples/04_magnetic_electric_fields.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/examples/geant4-examples/05_optical_scintillation.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/examples/geant4-examples/06_callbacks.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/examples/geant4-examples/07_custom_physics.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/examples/geant4-examples/08_dna_medical.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/examples/geant4-examples/09_cad_vtk_root_generators.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/examples/geant4-examples/10_mpi_distributed.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/examples/geant4-examples/11_native_scoring_mesh.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/examples/geant4-examples/Geant4-11.4.2-examples-python/AUDIT.md +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/examples/geant4-examples/Geant4-11.4.2-examples-python/COMPATIBILITY.md +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/examples/geant4-examples/Geant4-11.4.2-examples-python/README.md +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/examples/geant4-examples/Geant4-11.4.2-examples-python/advanced/GoldFoilExperiment/gold_foil.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/examples/geant4-examples/Geant4-11.4.2-examples-python/advanced/NanoparticleTherapy/brain_tumor.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/examples/geant4-examples/Geant4-11.4.2-examples-python/advanced/NanoparticleTherapy/nano_therapy.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/examples/geant4-examples/Geant4-11.4.2-examples-python/basic/B1/b1.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/examples/geant4-examples/Geant4-11.4.2-examples-python/basic/B2/b2.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/examples/geant4-examples/Geant4-11.4.2-examples-python/basic/B3/b3.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/examples/geant4-examples/Geant4-11.4.2-examples-python/basic/B4/b4.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/examples/geant4-examples/Geant4-11.4.2-examples-python/basic/B5/b5.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/examples/geant4-examples/Geant4-11.4.2-examples-python/extended/analysis/AnaEx01/ana_ex01.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/examples/geant4-examples/Geant4-11.4.2-examples-python/extended/analysis/AnaEx02/ana_ex02.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/examples/geant4-examples/Geant4-11.4.2-examples-python/extended/analysis/AnaEx03/ana_ex03.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/examples/geant4-examples/Geant4-11.4.2-examples-python/extended/electromagnetic/TestEm1/test_em1.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/examples/geant4-examples/Geant4-11.4.2-examples-python/extended/eventgenerator/HepMC/hepmc.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/examples/geant4-examples/Geant4-11.4.2-examples-python/extended/eventgenerator/exgps/exgps.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/examples/geant4-examples/Geant4-11.4.2-examples-python/extended/eventgenerator/particleGun/particle_gun.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/examples/geant4-examples/Geant4-11.4.2-examples-python/extended/field/field01/field01.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/examples/geant4-examples/Geant4-11.4.2-examples-python/extended/field/field02/field02.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/examples/geant4-examples/Geant4-11.4.2-examples-python/extended/hadronic/Hadr00/hadr00.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/examples/geant4-examples/Geant4-11.4.2-examples-python/extended/medical/GammaTherapy/gamma_therapy.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/examples/geant4-examples/Geant4-11.4.2-examples-python/extended/medical/electronScattering/electron_scattering.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/examples/geant4-examples/Geant4-11.4.2-examples-python/extended/optical/LXe/lxe.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/examples/geant4-examples/Geant4-11.4.2-examples-python/extended/optical/OpNovice/op_novice.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/examples/geant4-examples/Geant4-11.4.2-examples-python/extended/optical/wls/wls.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/examples/geant4-examples/Geant4-11.4.2-examples-python/extended/parameterisations/Par01/par01.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/examples/geant4-examples/Geant4-11.4.2-examples-python/extended/physicslists/factory/factory.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/examples/geant4-examples/Geant4-11.4.2-examples-python/extended/radioactivedecay/rdecay01/rdecay01.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/examples/geant4-examples/Geant4-11.4.2-examples-python/extended/runAndEvent/RE01/re01.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/examples/geant4-examples/Geant4-11.4.2-examples-python/run_gdml.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/examples/qt_viewer.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/licenses/CLHEP-COPYING +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/licenses/CLHEP-COPYING.LESSER +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/licenses/Expat-COPYING +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/licenses/Geant4-LICENSE +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/licenses/PTL-LICENSE +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/licenses/Xerces-C-LICENSE +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/licenses/Xerces-C-NOTICE +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/licenses/zlib-LICENSE +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/src/geant4_application/include/geant4_application/ActionInitialization.h +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/src/geant4_application/include/geant4_application/Application.h +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/src/geant4_application/include/geant4_application/DataModel.h +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/src/geant4_application/include/geant4_application/DetectorConstruction.h +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/src/geant4_application/include/geant4_application/EventAction.h +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/src/geant4_application/include/geant4_application/PhysicsList.h +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/src/geant4_application/include/geant4_application/PrimaryGeneratorAction.h +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/src/geant4_application/include/geant4_application/RunAction.h +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/src/geant4_application/include/geant4_application/SensitiveDetector.h +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/src/geant4_application/include/geant4_application/StackingAction.h +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/src/geant4_application/include/geant4_application/SteppingAction.h +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/src/geant4_application/include/geant4_application/SteppingVerbose.h +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/src/geant4_application/include/geant4_application/TrackingAction.h +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/src/geant4_application/src/ActionInitialization.cpp +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/src/geant4_application/src/Application.cpp +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/src/geant4_application/src/DataModel.cpp +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/src/geant4_application/src/DetectorConstruction.cpp +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/src/geant4_application/src/EventAction.cpp +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/src/geant4_application/src/PhysicsList.cpp +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/src/geant4_application/src/PrimaryGeneratorAction.cpp +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/src/geant4_application/src/RunAction.cpp +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/src/geant4_application/src/SensitiveDetector.cpp +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/src/geant4_application/src/StackingAction.cpp +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/src/geant4_application/src/SteppingAction.cpp +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/src/geant4_application/src/SteppingVerbose.cpp +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/src/geant4_application/src/TrackingAction.cpp +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/src/geant4_python_application/__init__.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/src/geant4_python_application/application.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/src/geant4_python_application/cad.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/src/geant4_python_application/detector.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/src/geant4_python_application/distributed.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/src/geant4_python_application/events.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/src/geant4_python_application/files/__init__.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/src/geant4_python_application/files/datasets.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/src/geant4_python_application/files/directories.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/src/geant4_python_application/gdml.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/src/geant4_python_application/generator.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/src/geant4_python_application/geometry.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/src/geant4_python_application/io.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/src/geant4_python_application/optical.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/src/geant4_python_application/scoring.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/src/python/module.cpp +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/src/vis/module.cpp +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/tests/__init__.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/tests/conftest.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/tests/test_analysis.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/tests/test_application.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/tests/test_capabilities.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/tests/test_module.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/tests/test_run.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/tools/audit_examples.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/tools/build_macos_self_contained.sh +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/tools/relink_qt_wheel.py +0 -0
- {geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/tools/smoke_viewer.py +0 -0
|
@@ -13,6 +13,30 @@ requires a Geant4 installation.
|
|
|
13
13
|
|
|
14
14
|
## Install a prebuilt wheel
|
|
15
15
|
|
|
16
|
+
### Create a virtual environment first
|
|
17
|
+
|
|
18
|
+
Always install into a fresh virtual environment. Installing into the system
|
|
19
|
+
Python or conda's `base` environment mixes this package with whatever is already
|
|
20
|
+
there (other Qt/PyQt, numpy or Geant4 builds), which is the most common cause of
|
|
21
|
+
library mismatch errors. On recent Ubuntu/Debian, `pip install` outside a
|
|
22
|
+
virtual environment is refused with `externally-managed-environment`.
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
python3 -m venv g4-env
|
|
26
|
+
source g4-env/bin/activate
|
|
27
|
+
python -m pip install --upgrade pip
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
or with conda:
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
conda create -n g4 python=3.12 -y
|
|
34
|
+
conda activate g4
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Activate the environment again in every new terminal. All commands below assume
|
|
38
|
+
it is active.
|
|
39
|
+
|
|
16
40
|
### From PyPI
|
|
17
41
|
|
|
18
42
|
```bash
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: geant4_python_application
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.2
|
|
4
4
|
Summary: Geant4 Python Application
|
|
5
|
-
Author
|
|
6
|
-
Maintainer
|
|
5
|
+
Author: Luis Antonio Obis Aparicio, Kavya Wadhwa
|
|
6
|
+
Maintainer: Luis Antonio Obis Aparicio, Kavya Wadhwa
|
|
7
7
|
Classifier: Intended Audience :: Developers
|
|
8
8
|
Classifier: Intended Audience :: Information Technology
|
|
9
9
|
Classifier: Intended Audience :: Science/Research
|
|
@@ -60,6 +60,9 @@ Description-Content-Type: text/markdown
|
|
|
60
60
|
|
|
61
61
|
[](https://pypi.org/project/geant4-python-application/)
|
|
62
62
|
[](https://pypi.org/project/geant4-python-application/)
|
|
63
|
+
[](https://pepy.tech/projects/geant4-python-application)
|
|
64
|
+
[](https://pepy.tech/projects/geant4-python-application)
|
|
65
|
+
[](https://hits.sh/github.com/lobis/geant4-python-application/)
|
|
63
66
|
[](https://github.com/lobis/geant4-python-application/actions/workflows/wheels.yaml)
|
|
64
67
|
[](https://github.com/lobis/geant4-python-application/actions/workflows/build-test.yaml)
|
|
65
68
|
|
|
@@ -93,12 +96,29 @@ reach out to kavyavadhwa@gmail.com.
|
|
|
93
96
|
## Installation
|
|
94
97
|
|
|
95
98
|
The package is published on
|
|
96
|
-
[PyPI](https://pypi.org/project/geant4-python-application/)
|
|
99
|
+
[PyPI](https://pypi.org/project/geant4-python-application/). Install it into a
|
|
100
|
+
fresh virtual environment: mixing it with packages already in your system or
|
|
101
|
+
base conda Python (other Qt/PyQt, numpy or Geant4 builds) is the most common
|
|
102
|
+
cause of library mismatch errors.
|
|
97
103
|
|
|
98
104
|
```bash
|
|
105
|
+
python3 -m venv g4-env
|
|
106
|
+
source g4-env/bin/activate
|
|
107
|
+
python -m pip install --upgrade pip
|
|
99
108
|
pip install "geant4-python-application[gui]"
|
|
100
109
|
```
|
|
101
110
|
|
|
111
|
+
With conda, create a new environment instead of using `base`:
|
|
112
|
+
|
|
113
|
+
```bash
|
|
114
|
+
conda create -n g4 python=3.12 -y
|
|
115
|
+
conda activate g4
|
|
116
|
+
pip install "geant4-python-application[gui]"
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
Activate the environment again (`source g4-env/bin/activate` or
|
|
120
|
+
`conda activate g4`) in every new terminal before using the package.
|
|
121
|
+
|
|
102
122
|
- Prebuilt wheels for macOS (Apple Silicon and Intel) and Linux x86_64, Python
|
|
103
123
|
3.8–3.13. Geant4 is bundled, so no separate Geant4 (C++) installation is
|
|
104
124
|
needed.
|
|
@@ -5,6 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
[](https://pypi.org/project/geant4-python-application/)
|
|
7
7
|
[](https://pypi.org/project/geant4-python-application/)
|
|
8
|
+
[](https://pepy.tech/projects/geant4-python-application)
|
|
9
|
+
[](https://pepy.tech/projects/geant4-python-application)
|
|
10
|
+
[](https://hits.sh/github.com/lobis/geant4-python-application/)
|
|
8
11
|
[](https://github.com/lobis/geant4-python-application/actions/workflows/wheels.yaml)
|
|
9
12
|
[](https://github.com/lobis/geant4-python-application/actions/workflows/build-test.yaml)
|
|
10
13
|
|
|
@@ -38,12 +41,29 @@ reach out to kavyavadhwa@gmail.com.
|
|
|
38
41
|
## Installation
|
|
39
42
|
|
|
40
43
|
The package is published on
|
|
41
|
-
[PyPI](https://pypi.org/project/geant4-python-application/)
|
|
44
|
+
[PyPI](https://pypi.org/project/geant4-python-application/). Install it into a
|
|
45
|
+
fresh virtual environment: mixing it with packages already in your system or
|
|
46
|
+
base conda Python (other Qt/PyQt, numpy or Geant4 builds) is the most common
|
|
47
|
+
cause of library mismatch errors.
|
|
42
48
|
|
|
43
49
|
```bash
|
|
50
|
+
python3 -m venv g4-env
|
|
51
|
+
source g4-env/bin/activate
|
|
52
|
+
python -m pip install --upgrade pip
|
|
44
53
|
pip install "geant4-python-application[gui]"
|
|
45
54
|
```
|
|
46
55
|
|
|
56
|
+
With conda, create a new environment instead of using `base`:
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
conda create -n g4 python=3.12 -y
|
|
60
|
+
conda activate g4
|
|
61
|
+
pip install "geant4-python-application[gui]"
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
Activate the environment again (`source g4-env/bin/activate` or
|
|
65
|
+
`conda activate g4`) in every new terminal before using the package.
|
|
66
|
+
|
|
47
67
|
- Prebuilt wheels for macOS (Apple Silicon and Intel) and Linux x86_64, Python
|
|
48
68
|
3.8–3.13. Geant4 is bundled, so no separate Geant4 (C++) installation is
|
|
49
69
|
needed.
|
|
@@ -3,13 +3,14 @@ build-backend = "scikit_build_core.build"
|
|
|
3
3
|
requires = ["scikit-build-core>=0.3.3", "pybind11"]
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
|
+
# Names only: PyPI shows just the first person when authors carry emails.
|
|
6
7
|
authors = [
|
|
7
|
-
{ name = "Luis Antonio Obis Aparicio"
|
|
8
|
-
{ name = "Kavya Wadhwa"
|
|
8
|
+
{ name = "Luis Antonio Obis Aparicio" },
|
|
9
|
+
{ name = "Kavya Wadhwa" },
|
|
9
10
|
]
|
|
10
11
|
maintainers = [
|
|
11
|
-
{ name = "Luis Antonio Obis Aparicio"
|
|
12
|
-
{ name = "Kavya Wadhwa"
|
|
12
|
+
{ name = "Luis Antonio Obis Aparicio" },
|
|
13
|
+
{ name = "Kavya Wadhwa" },
|
|
13
14
|
]
|
|
14
15
|
classifiers = [
|
|
15
16
|
"Intended Audience :: Developers",
|
|
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
|
|
|
18
18
|
commit_id: str | None
|
|
19
19
|
__commit_id__: str | None
|
|
20
20
|
|
|
21
|
-
__version__ = version = '0.1.
|
|
22
|
-
__version_tuple__ = version_tuple = (0, 1,
|
|
21
|
+
__version__ = version = '0.1.2'
|
|
22
|
+
__version_tuple__ = version_tuple = (0, 1, 2)
|
|
23
23
|
|
|
24
|
-
__commit_id__ = commit_id = '
|
|
24
|
+
__commit_id__ = commit_id = 'g31a259733'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/.github/workflows/wheels.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/PYTHON_DEVELOPER_GUIDE.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/examples/attenuation.ipynb
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
|
{geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/licenses/CLHEP-COPYING.LESSER
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/licenses/Xerces-C-LICENSE
RENAMED
|
File without changes
|
{geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/licenses/Xerces-C-NOTICE
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
|
{geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/tests/test_application.py
RENAMED
|
File without changes
|
{geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/tests/test_capabilities.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{geant4_python_application-0.1.1 → geant4_python_application-0.1.2}/tools/relink_qt_wheel.py
RENAMED
|
File without changes
|
|
File without changes
|