-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: tests from pyproject-metadata
Signed-off-by: Henry Schreiner <[email protected]>
- Loading branch information
Showing
24 changed files
with
1,800 additions
and
14 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
Empty file.
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,6 @@ | ||
[project] | ||
name = 'dynamic-description' | ||
version = '1.0.0' | ||
dynamic = [ | ||
'description', | ||
] |
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 @@ | ||
some readme 👋 |
Empty file.
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,49 @@ | ||
[project] | ||
name = 'full_metadata' | ||
version = '3.2.1' | ||
description = 'A package with all the metadata :)' | ||
readme = 'README.md' | ||
license = { text = 'some license text' } | ||
keywords = ['trampolim', 'is', 'interesting'] | ||
authors = [ | ||
{ email = '[email protected]' }, | ||
{ name = 'Example!' }, | ||
] | ||
maintainers = [ | ||
{ name = 'Other Example', email = '[email protected]' }, | ||
] | ||
classifiers = [ | ||
'Development Status :: 4 - Beta', | ||
'Programming Language :: Python', | ||
] | ||
|
||
requires-python = '>=3.8' | ||
dependencies = [ | ||
'dependency1', | ||
'dependency2>1.0.0', | ||
'dependency3[extra]', | ||
'dependency4; os_name != "nt"', | ||
'dependency5[other-extra]>1.0; os_name == "nt"', | ||
] | ||
|
||
[project.optional-dependencies] | ||
test = [ | ||
'test_dependency', | ||
'test_dependency[test_extra]', | ||
'test_dependency[test_extra2] > 3.0; os_name == "nt"', | ||
] | ||
|
||
[project.urls] | ||
homepage = 'example.com' | ||
documentation = 'readthedocs.org' | ||
repository = 'github.com/some/repo' | ||
changelog = 'github.com/some/repo/blob/master/CHANGELOG.rst' | ||
|
||
[project.scripts] | ||
full-metadata = 'full_metadata:main_cli' | ||
|
||
[project.gui-scripts] | ||
full-metadata-gui = 'full_metadata:main_gui' | ||
|
||
[project.entry-points.custom] | ||
full-metadata = 'full_metadata:main_custom' |
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 @@ | ||
Some license! 👋 |
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 @@ | ||
some readme 👋 |
Empty file.
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,49 @@ | ||
[project] | ||
name = 'full-metadata2' | ||
version = '3.2.1' | ||
description = 'A package with all the metadata :)' | ||
readme = 'README.rst' | ||
license = { file = 'LICENSE' } | ||
keywords = ['trampolim', 'is', 'interesting'] | ||
authors = [ | ||
{ email = '[email protected]' }, | ||
{ name = 'Example!' }, | ||
] | ||
maintainers = [ | ||
{ name = 'Other Example', email = '[email protected]' }, | ||
] | ||
classifiers = [ | ||
'Development Status :: 4 - Beta', | ||
'Programming Language :: Python', | ||
] | ||
|
||
requires-python = '>=3.8' | ||
dependencies = [ | ||
'dependency1', | ||
'dependency2>1.0.0', | ||
'dependency3[extra]', | ||
'dependency4; os_name != "nt"', | ||
'dependency5[other-extra]>1.0; os_name == "nt"', | ||
] | ||
|
||
[project.optional-dependencies] | ||
test = [ | ||
'test_dependency', | ||
'test_dependency[test_extra]', | ||
'test_dependency[test_extra2] > 3.0; os_name == "nt"', | ||
] | ||
|
||
[project.urls] | ||
homepage = 'example.com' | ||
documentation = 'readthedocs.org' | ||
repository = 'github.com/some/repo' | ||
changelog = 'github.com/some/repo/blob/master/CHANGELOG.rst' | ||
|
||
[project.scripts] | ||
full-metadata = 'full_metadata:main_cli' | ||
|
||
[project.gui-scripts] | ||
full-metadata-gui = 'full_metadata:main_gui' | ||
|
||
[project.entry-points.custom] | ||
full-metadata = 'full_metadata:main_custom' |
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,20 @@ | ||
Copyright © 2019 Filipe Laíns <[email protected]> | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a | ||
copy of this software and associated documentation files (the "Software"), | ||
to deal in the Software without restriction, including without limitation | ||
the rights to use, copy, modify, merge, publish, distribute, sublicense, | ||
and/or sell copies of the Software, and to permit persons to whom the | ||
Software is furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice (including the next | ||
paragraph) shall be included in all copies or substantial portions of the | ||
Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | ||
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | ||
DEALINGS IN THE SOFTWARE. |
Empty file.
Empty file.
Empty file.
Empty file.
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,5 @@ | ||
[project] | ||
name = "example" | ||
version = "1.2.3" | ||
license = "MIT OR GPL-2.0-or-later OR (FSFUL AND BSD-2-Clause)" | ||
license-files = ["LICEN[CS]E*", "AUTHORS*", "licenses/LICENSE.MIT"] |
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 @@ | ||
some readme |
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,4 @@ | ||
[project] | ||
name = 'unknown-readme-type' | ||
version = '1.0.0' | ||
readme = 'README.just-made-this-up-now' |
Empty file.
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 |
---|---|---|
|
@@ -2,3 +2,4 @@ coverage[toml]>=5.0.0 | |
pip>=21.1 | ||
pretend | ||
pytest>=6.2.0 | ||
tomli>=1.0.0; python_version < "3.11" |
Oops, something went wrong.