summarylogtreecommitdiffstats
path: root/cantera-git.install
diff options
context:
space:
mode:
Diffstat (limited to 'cantera-git.install')
-rw-r--r--cantera-git.install41
1 files changed, 23 insertions, 18 deletions
diff --git a/cantera-git.install b/cantera-git.install
index e31dcac49d03..ea191b3cede6 100644
--- a/cantera-git.install
+++ b/cantera-git.install
@@ -1,22 +1,27 @@
post_install() {
+ _python_v=$(python -V | awk '{print $2}')
echo "
- File locations:
-
- applications /usr/bin
- library files /usr/lib
- C++ headers /usr/include
- samples /usr/share/cantera/samples
- data files /usr/share/cantera/data
- Python package (cantera) /usr/lib/python3.8/site-packages
- Python samples /usr/lib/python3.8/site-packages/cantera/examples
- Setup scripts to configure the environment for Cantera are at:
- setup script (bash) /usr/bin/setup_cantera
- setup script (csh/tcsh) /usr/bin/setup_cantera.csh
-
- It is recommended that you run the script for your shell by typing:
-
- source /usr/bin/setup_cantera
-
- before using Cantera, or else include its contents in your shell login script.
+ Cantera has been successfully installed.
+
+ File locations:
+
+ applications /usr/bin
+ library files /usr/lib
+ C++ headers /usr/include
+ samples /usr/share/cantera/samples
+ data files /usr/share/cantera/data
+ Python package (cantera) /usr/lib/python${_python_v:0:3}/site-packages
+ Python samples /usr/lib/python${_python_v:0:3}/site-packages/cantera/examples
+
+ Setup scripts to configure the environment for Cantera are at:
+
+ setup script (bash) /usr/bin/setup_cantera
+ setup script (csh/tcsh) /usr/bin/setup_cantera.csh
+
+ It is recommended that you run the script for your shell by typing:
+
+ source /usr/bin/setup_cantera
+
+ before using Cantera, or else include its contents in your shell login script.
"
}