Closed yurivict closed 2 years ago
The installation is setup here
While DESTDIR
is referenced, I guess it is read at configure time rather than install here and therefore failing.
I proposed a patch in #933. Generally, I would recommend to install the Python components as separate packages rather than bundling them with DFTB+ as it provides more control over the installation (we take this approach for packaging on conda-forge as well).
Generally, I would recommend to install the Python components as separate packages [...]
Are there instructions how to do this for dftbplus?
In order to install the python module separately cleanly project needs to supply a top-level CMakeLists.txt for python.
Like the faiss
project does here.
No CMake required, you can install straight via setup.py
or pip install
(which is what our CMake is doing anyway).
See https://github.com/conda-forge/dftbplus-tools-feedstock/blob/8382ec8/recipe/meta.yaml#L15
It prints this error
and then succeeds anyway.
The
install
target should respect theDESTDIR
variable which contains stage directory.Version: 21.2 OS: FreeBSD 13