Skip to content

Commit 7bbf857

Browse files
Merge pull request #96 from graingert/setup-cfg
declarative setuptools
2 parents 24e799e + e76b034 commit 7bbf857

5 files changed

Lines changed: 54 additions & 91 deletions

File tree

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
include CHANGELOG.rst
22
include COPYING-GPLv3.txt
3+
include NEWLINE.rst
34
include README.rst
45

56
recursive-include tests *

NEWLINE.rst

Whitespace-only changes.

pyproject.toml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
[build-system]
2+
requires = ["setuptools>=77"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "unittest2pytest"
7+
authors = [{name = "Hartmut Goebel", email = "h.goebel@crazy-compilers.com"}]
8+
license = "GPL-3.0-or-later"
9+
license-files = ["COPYING-GPLv3.txt", "AUTHORS.txt"]
10+
description = "Convert unittest test-cases to pytest"
11+
classifiers = [
12+
"Development Status :: 4 - Beta",
13+
"Environment :: Console",
14+
"Intended Audience :: Developers",
15+
"Operating System :: OS Independent",
16+
"Programming Language :: Python",
17+
"Programming Language :: Python :: 3",
18+
"Programming Language :: Python :: 3 :: Only",
19+
"Programming Language :: Python :: 3.9",
20+
"Programming Language :: Python :: 3.10",
21+
"Programming Language :: Python :: 3.11",
22+
"Programming Language :: Python :: 3.12",
23+
"Programming Language :: Python :: 3.13",
24+
"Programming Language :: Python :: 3.14",
25+
"Programming Language :: Python :: 3.15",
26+
"Topic :: Software Development",
27+
"Topic :: Utilities",
28+
]
29+
dynamic = ["readme", "version"]
30+
requires-python = ">=3.9"
31+
dependencies = ["fissix"]
32+
33+
[project.urls]
34+
Homepage = "https://github.com/pytest-dev/unittest2pytest"
35+
36+
[project.scripts]
37+
unittest2pytest = "unittest2pytest.__main__:main"
38+
39+
[tool.setuptools]
40+
packages = ["unittest2pytest", "unittest2pytest.fixes"]
41+
zip-safe = false
42+
include-package-data = false
43+
44+
[tool.setuptools.dynamic]
45+
readme = {file = ["README.rst", "NEWLINE.rst", "CHANGELOG.rst"], content-type = "text/x-rst"}
46+
version = {attr = "unittest2pytest.__version__"}
47+
48+
[tool.zest-releaser]
49+
python-file-with-version = "unittest2pytest/__init__.py"
50+
push-changes = false
51+
tag-format = "v{version}"
52+
tag-message = "unittest2pytest {version}"
53+
tag-signing = true

setup.cfg

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

setup.py

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

0 commit comments

Comments
 (0)