summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wrappers/python/pyproject.toml21
-rw-r--r--wrappers/python/setup.cfg18
2 files changed, 18 insertions, 21 deletions
diff --git a/wrappers/python/pyproject.toml b/wrappers/python/pyproject.toml
index 1ffefc9..863ce8c 100644
--- a/wrappers/python/pyproject.toml
+++ b/wrappers/python/pyproject.toml
@@ -2,27 +2,6 @@
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
-[project]
-name = "eduvpn_common"
-version = "1.99.2"
-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
diff --git a/wrappers/python/setup.cfg b/wrappers/python/setup.cfg
new file mode 100644
index 0000000..ad9755b
--- /dev/null
+++ b/wrappers/python/setup.cfg
@@ -0,0 +1,18 @@
+[metadata]
+name = eduvpn_common
+version = 1.99.2
+author = Jeroen Wijenbergh
+author_email = jeroen.wijenbergh@geant.org
+long_description = README.md
+url = https://github.com/eduvpn/eduvpn-common
+license = MIT
+
+[options]
+packages = eduvpn_common
+
+[options.package_data]
+eduvpn_common = lib/*.so, py.typed
+
+[options.extras_require]
+lint = ruff
+mypy = mypy