mirror of
https://github.com/kuhyx/screen-locker.git
synced 2026-07-04 11:43:09 +02:00
Fix pip install -e: scope package discovery to screen_locker
setuptools' automatic flat-layout discovery saw two top-level directories (screen_locker/ and the unrelated stronglift_replacement/ Flutter app) and refused to guess, blocking pip install -e . needed to pip-install this package into system Python the same way gatelock/diet_guard/wake_alarm already are.
This commit is contained in:
parent
d50bc49b92
commit
6b22b2e2e3
@ -8,6 +8,13 @@ dependencies = [
|
||||
"gatelock @ git+https://github.com/kuhyx/gatelock@v0.1.0",
|
||||
]
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
# This repo also holds stronglift_replacement/ (an unrelated Flutter app, not
|
||||
# a Python package); without this, setuptools' automatic flat-layout
|
||||
# discovery sees two top-level directories and refuses to guess which is the
|
||||
# installable package.
|
||||
include = ["screen_locker*"]
|
||||
|
||||
[tool.ruff]
|
||||
target-version = "py310"
|
||||
include = ["*.py", "**/*.py"]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user