Install from source

$ pip install gpaw/  # not "pip install gpaw" !!!
Processing ./gpaw
Installing collected packages: gpaw
  Attempting uninstall: gpaw
    Found existing installation: gpaw 21.1.0
    Uninstalling gpaw-21.1.0:
      Successfully uninstalled gpaw-21.1.0
    Running install for gpaw ... done
Successfully installed gpaw-21.1.1b1

Python files and will now be in /tmp/venv/lib/python3.8/site-packages/.

Let’s do an editable install instead:

$ pip install -e gpaw/
Successfully installed gpaw-21.1.1b1
$ cat venv/lib/python3.8/site-packages/easy-install.pth
$ ls /tmp/gpaw/_gpaw*.so

Python will now find the gpaw and _gpaw modules in your git-clone folder.


Remember to pip install -e gpaw/ when the C-code changes.