Skip to content

Installation with stage_dir displays incomplete/wrong locations #1194

@ischoegl

Description

@ischoegl

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

  1. Compile from source
  2. Install with stage_dir option
  3. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions