Skip to content

Commit

Permalink
Fix incorrect fields in pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
andmat900 committed Oct 11, 2024
1 parent edeabc9 commit 20e0899
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 16 deletions.
22 changes: 6 additions & 16 deletions python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[build-system]
requires = ["setuptools>=72", "wheel", "setuptools_scm[toml]>=8"]
build-backend = "setuptools.build_meta"

[project]
name = "etos_api"
Expand All @@ -13,6 +14,7 @@ classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License"
]
requires-python = ">=3.9"
dependencies = [
"etos_lib==4.3.1",
"etcd3gw~=2.3",
Expand All @@ -30,31 +32,16 @@ dependencies = [
"jsontas~=1.4",
"packageurl-python~=0.11",
"cryptography>=42.0.4,<43.0.0",
"setuptools_scm~=8.0"
]

[options]
zip_safe = false
include_package_data = true
python_requires = ">=3.4"

[options.packages.find]
where = "src"
exclude = ["tests"]

[project.urls]
Documentation = "https://etos.readthedocs.io/"
Homepage = "https://github.com/eiffel-community/etos-api"
Repository = "https://github.com/eiffel-community/etos-api"

[project.scripts]

[project.optional-dependencies]
testing = ["pytest", "pytest-cov"]

[test]
extras = true

[tool.build_sphinx]
source_dir = "docs"
build_dir = "build/sphinx"
Expand All @@ -72,4 +59,7 @@ norecursedirs = ["dist", "build", ".tox"]
testpaths = ["tests"]

[tool.setuptools_scm]
root = ".."
root = ".."

[tool.setuptools.packages]
find = { where = ["src"], exclude = ["tests"] }
1 change: 1 addition & 0 deletions python/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,6 @@ commands =
[testenv:pydocstyle]
deps =
pydocstyle
tomli
commands =
pydocstyle .

0 comments on commit 20e0899

Please sign in to comment.