Source installation code: No setup.py at the project root

Hello, I am getting started with contributing to free software and would like to explore the Gramps project, which seems very interesting.

I am using Zorin OS (Ubuntu) and would like to install the latest version of Gramps (from the GitHub repository, master branch).

Following the information in the INSTALL file, I noticed that the setup.py file is missing from the root directory. Is this normal? An oversight? How can I proceed with the installation?

Thank you in advance for your responses.

1 Like

Yes. We now use a pyproject.toml based build system. See PR #2053.

To build use:

python -m build --wheel

Note: The default options will not generate local build files. They are created in a temporary directory from a source distribution insatall.

To install use:

pip install .
1 Like

Thank you for your reply. I’m sorry I didn’t see the post on the same subject.

Building gramps 6.0 from source under Mint

I wonder why the old INSTALL file is still in the main branch. Is it an oversight? Is it temporary?

If you like, I can write a completed version based on what you told me. I think it could be a good first contribution.

2 Likes

Thank you. That would be helpful.

I created a simple PR #2181 in which I modified the INSTALL file following your advice and drawing inspiration from similar topics on the forum.

(This is my first PR, so please feel free to point out any mistakes I may have made.)

2 Likes