summaryrefslogtreecommitdiff
path: root/wrappers/python/pyproject.toml
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2024-03-22 11:52:28 +0100
committerJeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com>2024-03-22 13:30:41 +0100
commit9bab3c87825b4284b3e6f2be3fa9e89da7723116 (patch)
tree6049f03402f23168c5000e9843a979935cd0996d /wrappers/python/pyproject.toml
parentf94e6471268c12b7b5c7fd1c8b8800dac3848d6c (diff)
All: Refactor makefile & building
Diffstat (limited to 'wrappers/python/pyproject.toml')
-rw-r--r--wrappers/python/pyproject.toml39
1 files changed, 35 insertions, 4 deletions
diff --git a/wrappers/python/pyproject.toml b/wrappers/python/pyproject.toml
index 44836bb..b43aa5a 100644
--- a/wrappers/python/pyproject.toml
+++ b/wrappers/python/pyproject.toml
@@ -1,6 +1,37 @@
[build-system]
-requires = [
- "setuptools",
- "wheel",
-]
+requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
+
+[project]
+name = "eduvpn_common"
+version = "1.99.1"
+description = "eduvpn-common library"
+authors = [
+ {name = "Jeroen Wijenbergh", email = "jeroen.wijenbergh@geant.org"},
+]
+requires-python = ">=3.6"
+readme = "README.md"
+license = {text = "MIT"}
+
+[project.urls]
+Homepage = "https://github.com/eduvpn/eduvpn-common"
+
+[project.optional-dependencies]
+lint = ["ruff" ]
+mypy = [ "mypy" ]
+
+[tool.setuptools.packages.find]
+include = ["eduvpn_common*"]
+
+[tool.ruff]
+line-length = 120
+
+[tool.ruff.lint]
+extend-select = [
+ # isort
+ "I",
+]
+ignore = ['E402']
+
+[tool.ruff.lint.isort]
+case-sensitive = true