Skip to content

Commit ec03b8b

Browse files
Merge pull request #1448 from VWS-Python/switch-to-pyproject-setuptools
Switch from setup.cfg to pyproject.toml
2 parents e234e27 + 06a8d25 commit ec03b8b

File tree

3 files changed

+35
-37
lines changed

3 files changed

+35
-37
lines changed

docs/source/release-process.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ Perform a Release
1717
.. prompt:: bash
1818
:substitutions:
1919

20-
$ gh workflow run release.yml --repo |github-owner|/|github-repository|
20+
gh workflow run release.yml --repo |github-owner|/|github-repository|
2121

2222
.. _Install GitHub CLI: https://cli.github.com/manual/installation

pyproject.toml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,3 +229,37 @@ target-version = "py311"
229229
"S106",
230230
]
231231

232+
[tool.distutils.bdist_wheel]
233+
universal = true
234+
235+
[project]
236+
authors = [ { name = "Adam Dangoor", email = "[email protected]"} ]
237+
classifiers = [
238+
"Operating System :: POSIX",
239+
"Environment :: Web Environment",
240+
"Programming Language :: Python :: 3.11",
241+
"License :: OSI Approved :: MIT License",
242+
"Development Status :: 5 - Production/Stable",
243+
"Framework :: Pytest",
244+
]
245+
description = "A mock for the Vuforia Web Services (VWS) API."
246+
dynamic = ["version"]
247+
keywords = ["vuforia", "vws", "mock", "fake", "client"]
248+
license = { file = "LICENSE" }
249+
name = "vws-python-mock"
250+
readme = { file = "README.rst", content-type = "text/x-rst"}
251+
requires-python = ">=3.10"
252+
253+
[project.urls]
254+
Source = "https://github.com/VWS-Python/vws-python-mock"
255+
Documentation = "https://vws-python-mock.readthedocs.io"
256+
257+
[tool.setuptools]
258+
zip-safe = false
259+
260+
[tool.setuptools.packages.find]
261+
where = ["src"]
262+
263+
[tool.setuptools.package-data]
264+
mock_vws = ["py.typed"]
265+

setup.cfg

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)