Building gramps 6.0 from source under Mint

I have just downloaded the Gramps 6.0xxx source code and would like to build from source.

I have also read both the INSTALL and Readme files, but since this my first try at building from source in a long while, I am having trouble making things work.

FWIW, this is on a ‘clean’ machine - no old versions of Gramps or anything else.

The INSTALL file tells me to run

python3 setup.py build

but it fails with “No such file or directory”

The only setup.py file in the directory tree is in ./aoi

Where is that file supposed to be ??

In the master branch, we now use a pyproject.toml based build system.

See pull request #2053 for details.

To build run:

python -m build --wheel

To install run:

pip install .

Thank you, but …

For my setup I have/had to use python3, but running that in the main/root gramps directory gives me:

No module named build

Try installing the python3-build package.

Sorry, but I have no idea how to get that done :frowning:

After a bit of searching, I was able, I think to re-install python3-build, but it made no difference :frowning:

I got the build to work after adding a couple packages it complained about..

but the

pip install .

failed with the usual ‘externally-managed-environment ‘ error.

I think the install from source instructions have not been updated correctly in the release. So following them creates an unfortunate mess.

cheers,

brian