we enter (cd) Brightness-2.4/brightness-controller-linux then run poetry install, poetry build so removing "src/" will help.
rizvan@debian:~/Downloads/Brightness-2.4/brightness-controller-linux$ poetry build
Building brightness-controller-linux (2.4)
- Building sdist
- Built brightness-controller-linux-2.4.tar.gz
- Building wheel
- Built brightness_controller_linux-2.4-py3-none-any.whl
rizvan@debian:~/Downloads/Brightness-2.4/brightness-controller-linux$ poetry run python src/brightness_controller_linux/init.py
/home/rizvan/.cache/pypoetry/virtualenvs/brightness-controller-linux-Zn5o2yih-py3.10/bin/python: can't open file '/home/rizvan/Downloads/Brightness-2.4/brightness-controller-linux/src/brightness_controller_linux/init.py': [Errno 2] No such file or directory
we enter (cd)
Brightness-2.4/brightness-controller-linux
then runpoetry install
,poetry build
so removing "src/" will help.