Skip to content

Seeking a way to install for development #12

@mattEhall

Description

@mattEhall

Would @gbarter or anyone have advice for how to install the latest version of PyHAMS in develop mode (on Windows)?

After updating my PyHAMS folder from a very old version, I wasn't able to install from the folder.
Python install.py doesn't existing anymore and pip install can't find dependencies (meson build log pasted below). So far the installation method that's worked for me is "conda install -c conda-forge pyhams", but that's not from a local directory I can then edit.

I don't need to do anything with the compiled HAMS code. I just want to be able to work on the the pyhams.py functions. Any tips much appreciated.
Matt

Meson setup.py log from when I try "pip install -e .":

The Meson build system
Version: 1.2.3
Source dir: C:\Code\pyHAMS
Build dir: C:\Code\pyHAMS\meson_build
Build type: native build
Project name: pyhams
Project version: undefined
C compiler for the host machine: gcc (gcc 5.3.0 "gcc (Rev5, Built by MSYS2 project) 5.3.0")
C linker for the host machine: gcc ld.bfd 2.25.1
Host machine cpu family: x86_64
Host machine cpu: x86_64
Fortran compiler for the host machine: gfortran (gcc 5.3.0 "GNU Fortran (Rev5, Built by MSYS2 project) 5.3.0")
Fortran linker for the host machine: gfortran ld.bfd 2.25.1
Library m found: YES
Compiler for Fortran supports arguments -fdec-math: NO 
Compiler for Fortran supports arguments -fno-align-commons: YES 
Run-time dependency OpenMP found: YES 4.0
Found pkg-config: C:\Users\mhall\Anaconda3\envs\raft\Library\mingw-w64\bin\pkg-config.EXE (0.29.1)
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency mkl_rt found: NO (tried pkgconfig and cmake)
Run-time dependency openblas found: NO (tried pkgconfig and cmake)
Run-time dependency blas found: NO (tried pkgconfig and cmake)
Run-time dependency lapack found: NO (tried pkgconfig)

meson.build:57:9: ERROR: Dependency "lapack" not found, tried pkgconfig

A full log can be found at C:\Code\pyHAMS\meson_build\meson-logs\meson-log.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions