-
-
Notifications
You must be signed in to change notification settings - Fork 409
Closed
Labels
Description
Problem description
An installation with stage_dir on windows produces the following behavior (the behavior is presumably worse on debian):
(cantera-dev) PS C:\Users\ischo\GitHub\cantera> scons install stage_dir=stage
[...]
postInstallMessage(["finish_install"], [])
Cantera has been successfully installed.
File locations:
applications C:\Program Files\Cantera\bin
library files C:\Program Files\Cantera\lib
C++ headers C:\Program Files\Cantera\include
samples C:\Program Files\Cantera\samples
data files C:\Program Files\Cantera\data
Python package (cantera) \Users\ischo\miniconda3\envs\cantera-dev\Lib\site-packages
Python samples \Users\ischo\miniconda3\envs\cantera-dev\Lib\site-packages\cantera\examples
scons: done building targets.
(cantera-dev) PS C:\Users\ischo\GitHub\cantera> cd stage
(cantera-dev) PS C:\Users\ischo\GitHub\cantera\stage> ls
Directory: C:\Users\ischo\GitHub\cantera\stage
Mode LastWriteTime Length Name
---- ------------- ------ ----
d---- 2/11/2022 9:42 PM Program Files
d---- 2/11/2022 9:43 PM Users
(cantera-dev) PS C:\Users\ischo\GitHub\cantera\stage> ls '.\Program Files\Cantera\'
Directory: C:\Users\ischo\GitHub\cantera\stage\Program Files\Cantera
Mode LastWriteTime Length Name
---- ------------- ------ ----
d---- 2/11/2022 9:42 PM data
d---- 2/11/2022 9:42 PM doc
d---- 2/11/2022 9:42 PM include
d---- 2/11/2022 9:43 PM lib
d---- 2/11/2022 9:43 PM samples
(cantera-dev) PS C:\Users\ischo\GitHub\cantera\stage> ls .\Users\ischo\miniconda3\envs\cantera-dev\Lib\site-packages\c*
Directory: C:\Users\ischo\GitHub\cantera\stage\Users\ischo\miniconda3\envs\cantera-dev\Lib\site-packages
Mode LastWriteTime Length Name
---- ------------- ------ ----
d---- 2/11/2022 9:43 PM cantera
d---- 2/11/2022 9:43 PM Cantera-2.6.0a4-py3.9.egg-info
(cantera-dev) PS C:\Users\ischo\GitHub\cantera\stage>
Steps to reproduce
- Compile from source
- Install with
stage_diroption - See faulty installation above
Expected Behavior
The full paths (including stage_dir) should be displayed.
System information
- Cantera version: 2.6.0a4 (
main/ 5b58690) - OS: Windows 10
- Python/MATLAB/other software versions: miniconda, Python 3.9.7
Additional context
- Similar behavior is observed on
*nix - Installation locations for
debianlayout are clearly different from what would be displayed here - Issue came up during [SCons] Change prefix default if conda is detected #1191, where the handling of
python_module_loccauses issues.
Reactions are currently unavailable