mirror of
https://github.com/feder-cr/invisible_playwright.git
synced 2026-07-04 10:52:24 +02:00
Allow the invisible-core git dependency to install
Hatchling refuses a direct-reference dependency (invisible-core @ git+...) unless allow-direct-references is opted in, so a clean pip install from git failed at metadata generation. Enable it so the wrapper installs.
This commit is contained in:
parent
76e41e2789
commit
310bb215df
1 changed files with 6 additions and 0 deletions
|
|
@ -53,6 +53,12 @@ invisible-playwright = "invisible_playwright.cli:main"
|
||||||
Homepage = "https://github.com/feder-cr/invisible_playwright"
|
Homepage = "https://github.com/feder-cr/invisible_playwright"
|
||||||
Issues = "https://github.com/feder-cr/invisible_playwright/issues"
|
Issues = "https://github.com/feder-cr/invisible_playwright/issues"
|
||||||
|
|
||||||
|
[tool.hatch.metadata]
|
||||||
|
# invisible-core is pinned by a direct git reference (see [project].dependencies).
|
||||||
|
# Hatchling refuses direct references unless this is opted in — without it a clean
|
||||||
|
# `pip install git+.../invisible_playwright` fails at metadata generation.
|
||||||
|
allow-direct-references = true
|
||||||
|
|
||||||
[tool.hatch.build.targets.wheel]
|
[tool.hatch.build.targets.wheel]
|
||||||
packages = ["src/invisible_playwright"]
|
packages = ["src/invisible_playwright"]
|
||||||
exclude = ["*.bak", "*-bak"]
|
exclude = ["*.bak", "*-bak"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue