Rocky Linux GSE Build from source - ospd-openvas - setup.py

I have used:
kifarunix.com install-gvm-21-04-on-rocky-linux-8 (primarily)
and
community.greenbone.net full-gvm-11-build-guide-for-centos
as a guide to building GSE on Rocky Linux

Linux 4.18.0-348.7.1.el8_5.x86_64 #1 SMP Tue Dec 21 19:02:23 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

When I get to building ospd-openvas using:
python3 setup.py install --prefix=/opt/gvm
There is no setup.py.

The source was obtained via git as follows:
git clone -b stable --single-branch github.com-greenbone-ospd-openvas.git (edited in order to post)

I have stepped through building every other source package successfully as documented in the guides I referenced including all intermediate steps. Is the missing setup.py file representative of a prior missed step? Or has the build process changed for ospd-openvas? I’m not sure what I am missing.

Thank you for your help.

I have looked at the git repository. It seems that ‘oldstable’ includes setup.py, ‘v21.4.3’ includes setup.py, but ‘stable’ does not. I do not see any commits that would seem to explain this, but I could easily be missing something.

The PR for removing the setup.py file can be found at Drop setuptools by bjoernricks · Pull Request #559 · greenbone/ospd-openvas · GitHub

We switched to using poetry instead of setuptools a while ago and I’ve just removed some leftovers like the setup.py file.

2 Likes

Thank you for the explanation.