-
Notifications
You must be signed in to change notification settings - Fork 256
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d97577e
commit 6473ff4
Showing
6 changed files
with
153 additions
and
20 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
My Package | ||
========== |
69 changes: 69 additions & 0 deletions
69
tests/fixtures/sample_project_with_groups_new/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,69 @@ | ||
[project] | ||
name = "my-package" | ||
version = "1.2.3" | ||
description = "Some description." | ||
readme = "README.rst" | ||
requires-python = ">=3.6" | ||
license = { text = "MIT" } | ||
keywords = ["packaging", "dependency", "poetry"] | ||
authors = [ | ||
{ name = "Sébastien Eustace", email = "[email protected]" } | ||
] | ||
maintainers = [ | ||
{ name = "Sébastien Eustace", email = "[email protected]" } | ||
] | ||
|
||
classifiers = [ | ||
"Topic :: Software Development :: Build Tools", | ||
"Topic :: Software Development :: Libraries :: Python Modules" | ||
] | ||
|
||
# Requirements | ||
dependencies = [ | ||
"cleo ~=0.6", | ||
"pendulum @ git+https://github.com/sdispater/[email protected]", | ||
"tomlkit @ git+https://github.com/sdispater/tomlkit.git@3bff550", | ||
"pathlib2 ~=2.2 ; python_version == '2.7'", | ||
# File dependency | ||
"demo @ ../distributions/demo-0.1.0-py2.py3-none-any.whl", | ||
# Dir dependency with setup.py | ||
"my-package @ ../project_with_setup/", | ||
# Dir dependency with pyproject.toml | ||
"simple-project @ ../simple_project/", | ||
# Dependency with markers | ||
"functools32 ~=3.2.3 ; python_version ~= '2.7' and sys_platform == 'win32' or python_version in '3.4 3.5'", | ||
# Dependency with python constraint | ||
"dataclasses ~=0.7 ; python_full_version >= '3.6.1' and python_version < '3.7'" | ||
] | ||
|
||
[project.optional-dependencies] | ||
db = [ | ||
"orator ~=0.9" | ||
] | ||
network = [ | ||
"requests[security] ~=2.18" | ||
] | ||
|
||
[project.urls] | ||
homepage = "https://python-poetry.org" | ||
repository = "https://github.com/python-poetry/poetry" | ||
documentation = "https://python-poetry.org/docs" | ||
|
||
[project.scripts] | ||
my-script = "my_package:main" | ||
|
||
[project.entry-points."blogtool.parsers"] | ||
".rst" = "some_module::SomeClass" | ||
|
||
[tool.poetry.dependencies] | ||
tomlkit = { develop = true } | ||
|
||
[dependency-groups] | ||
test = ["pytest>7", "coverage"] | ||
docs = ["mkdocs @ git+https://github.com/mkdocs/mkdocs.git"] | ||
|
||
[tool.poetry.group.docs] | ||
optional = true | ||
|
||
[tool.poetry.group.docs.dependencies] | ||
mkdocs = { develop = 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