-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch project from setuptools to poetry.
- Loading branch information
1 parent
97b8a0e
commit ce9e948
Showing
7 changed files
with
682 additions
and
106 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
Large diffs are not rendered by default.
Oops, something went wrong.
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,6 +1,6 @@ | ||
[build-system] | ||
requires = ["setuptools >= 43", "wheel", "setuptools_scm[toml] >= 3.4"] | ||
build-backend = "setuptools.build_meta" | ||
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"] | ||
build-backend = "poetry_dynamic_versioning.backend" | ||
|
||
[tool.coverage.run] | ||
omit = [ | ||
|
@@ -46,4 +46,58 @@ disable = [ | |
[tool.pytest.ini_options] | ||
log_level = "DEBUG" | ||
|
||
[tool.setuptools_scm] | ||
[tool.poetry] | ||
authors = ["Mozilla Fuzzing Team <[email protected]>"] | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)", | ||
"Programming Language :: Python :: 3", | ||
"Topic :: Security", | ||
"Topic :: Software Development :: Testing", | ||
] | ||
description = "Downloader for firefox/jsshell builds." | ||
homepage = "https://github.com/MozillaSecurity/fuzzfetch" | ||
keywords = ["fuzz", "fuzzing", "security", "test", "testing"] | ||
license = "MPL 2.0" | ||
name = "fuzzfetch" | ||
packages = [{from = "src", include = "fuzzfetch"}] | ||
version = "0.0.0" | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.8" | ||
pytz = "^2023.3.post1" | ||
requests = "^2.31.0" | ||
|
||
[tool.poetry.group.test] | ||
optional = true | ||
|
||
[tool.poetry.group.test.dependencies] | ||
freezegun = "^1.3.1" | ||
pytest = "^7.4.3" | ||
pytest-cov = "^4.1.0" | ||
requests-mock = "^1.11.0" | ||
|
||
[tool.poetry.group.coverage] | ||
optional = true | ||
|
||
[tool.poetry.group.coverage.dependencies] | ||
coverage = {version = "^7.3.2", extras = ["toml"]} | ||
|
||
[tool.poetry.group.mypy] | ||
optional = true | ||
|
||
[tool.poetry.group.mypy.dependencies] | ||
mypy = "^1.7.1" | ||
|
||
[tool.poetry.group.pylint] | ||
optional = true | ||
|
||
[tool.poetry.group.pylint.dependencies] | ||
pylint = "^3.0.2" | ||
|
||
[tool.poetry.scripts] | ||
fuzzfetch = "fuzzfetch:Fetcher.main" | ||
|
||
[tool.poetry-dynamic-versioning] | ||
enable = 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