-
Notifications
You must be signed in to change notification settings - Fork 254
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
ed4bb56
commit c912bde
Showing
4 changed files
with
96 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
My Package | ||
========== |
62 changes: 62 additions & 0 deletions
62
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,62 @@ | ||
[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 = "sebastien@eustace.io" } | ||
] | ||
maintainers = [ | ||
{ name = "Sébastien Eustace", email = "sebastien@eustace.io" } | ||
] | ||
|
||
classifiers = [ | ||
"Topic :: Software Development :: Build Tools", | ||
"Topic :: Software Development :: Libraries :: Python Modules" | ||
] | ||
|
||
# Requirements | ||
dependencies = [ | ||
"cleo ~=0.6", | ||
"pendulum @ git+https://github.com/sdispater/pendulum.git@2.0", | ||
"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"] |
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