When I run python setup.py install --root="$pkgdir/" --optimize=1 (ignore $destdir, it's a normal directory) I get
Installed /mnt/hdd/aur/maintained-packages/python-grapefruit/src/grapefruit-0.1a4/.eggs/d2to1-0.2.12.post1-py3.6.egg
error in setup command: Error parsing /mnt/hdd/aur/maintained-packages/python-grapefruit/src/grapefruit-0.1a4/setup.cfg: RecursionError: maximum recursion depth exceeded
Am using the latest release 0.1a4 on Arch Linux