LordAmit / Brightness

Using Brightness Controller, you can control brightness of both primary and external displays in Linux. Check it out!
Other
1.05k stars 84 forks source link

poetry run can't find init.py #227

Open fastrizwaan opened 2 years ago

fastrizwaan commented 2 years ago

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