mirror of
https://github.com/kuhyx/screen-locker.git
synced 2026-07-04 15:43:02 +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",
|
"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]
|
[tool.ruff]
|
||||||
target-version = "py310"
|
target-version = "py310"
|
||||||
include = ["*.py", "**/*.py"]
|
include = ["*.py", "**/*.py"]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user