Skip to content

Fix make env-info on Windows #12

@mithro

Description

@mithro

The current output of make env-info on Windows looks like this;

$ make env-info
OS_TYPE=Windows CPU_TYPE=x86_64
'name: make-env' 'make-env'
"               Currently running on: 'Windows (x86_64)'"
ECHO is off.
"         Conda environment is named: 'make-env'"
"   Conda Env Top level directory is: 'C:\Users\travis\build\mithro\conda-env-make\test'"
"         Git top level directory is: '$(git rev-parse --show-toplevel)'"
"              The version number is: '$(git describe)'"
"            Git repository is using: $(du -h -s $(git rev-parse --show-toplevel)/.git | sed -e's/\s.*//')" 	
ECHO is off.
"     Environment setup directory is: 'C:\Users\travis\build\mithro\conda-env-make\test\env'" 	
"    Download and cache directory is: 'C:\Users\travis\build\mithro\conda-env-make\test\env\downloads' (using $(du -h -s C:\Users\travis\build\mithro\conda-env-make\test\env\downloads | sed -e's/\s.*//'))" 	
"               Conda's directory is: 'C:\Users\travis\build\mithro\conda-env-make\test\env\conda' (using $(du -h -s C:\Users\travis\build\mithro\conda-env-make\test\env\conda | sed -e's/\s.*//'))" 	
" Conda's packages download cache is: 'C:\Users\travis\build\mithro\conda-env-make\test\env\downloads\conda-pkgs' (using $(du -h -s C:\Users\travis\build\mithro\conda-env-make\test\env\downloads\conda-pkgs | sed -e's/\s.*//'))" 	
"           Conda's Python binary is: 'C:\Users\travis\build\mithro\conda-env-make\test\env\conda\envs\make-env\python.exe'"	
The command "make env-info" exited with 0.

It should look like this;

$ make env-info
OS_TYPE=Linux CPU_TYPE=x86_64
'name: make-env' 'make-env'
               Currently running on: 'Linux (x86_64)'
         Conda environment is named: 'make-env'
   Conda Env Top level directory is: '/home/travis/build/mithro/conda-env-make/test'
         Git top level directory is: '/home/travis/build/mithro/conda-env-make'
              The version number is: 'v0.0-31-gf7d4e6c'
            Git repository is using: 200K
     Environment setup directory is: '$TOP_DIR/env'
    Download and cache directory is: '$TOP_DIR/env/downloads' (using 420M)
               Conda's directory is: '$TOP_DIR/env/conda' (using 571M)
 Conda's packages download cache is: '$TOP_DIR/env/downloads/conda-pkgs' (using 335M)
           Conda's Python binary is: '$TOP_DIR/env/conda/envs/make-env/bin/python'
The command "make env-info" exited with 0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions