-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow URL requirements in editable installs
- Loading branch information
1 parent
b561719
commit 7b4b205
Showing
6 changed files
with
91 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
2 changes: 2 additions & 0 deletions
2
scripts/editable-installs/hatchling_editable/hatchling_editable/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
def func(): | ||
pass |
22 changes: 22 additions & 0 deletions
22
scripts/editable-installs/hatchling_editable/pyproject.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[build-system] | ||
requires = ["hatchling"] | ||
build-backend = "hatchling.build" | ||
|
||
[project] | ||
name = "hatchling-editable" | ||
description = 'A simple editable package with a URL dependency.' | ||
readme = "README.md" | ||
requires-python = ">=3.7" | ||
license = "MIT" | ||
keywords = [] | ||
authors = [ | ||
{ name = "Astral Software Inc.", email = "hey@astral.sh" }, | ||
] | ||
classifiers = [] | ||
dependencies = [ | ||
"iniconfig @ https://files.pythonhosted.org/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl" | ||
] | ||
version = "0.1.0" | ||
|
||
[tool.hatch.metadata] | ||
allow-direct-references = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,19 @@ | ||
[tool.poetry] | ||
name = "poetry-editable" | ||
version = "0.1.0" | ||
description = "" | ||
authors = ["konstin <konstin@mailbox.org>"] | ||
[build-system] | ||
requires = ["hatchling"] | ||
build-backend = "hatchling.build" | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.10" | ||
numpy = "^1" | ||
[project] | ||
name = "zeal" | ||
description = '' | ||
readme = "README.md" | ||
requires-python = ">=3.7" | ||
license = "MIT" | ||
keywords = [] | ||
authors = [ | ||
{ name = "Astral Software Inc.", email = "hey@astral.sh" }, | ||
] | ||
classifiers = [ | ||
] | ||
dependencies = [] | ||
version = "0.1.0" | ||
|
||
[build-system] | ||
requires = ["poetry-core"] | ||
build-backend = "poetry.core.masonry.api" |