Skip to content

Commit aada696

Browse files
committed
Starting using setup.cfg based packaging and bump version to 1.1.3
1 parent 2a842d4 commit aada696

File tree

2 files changed

+43
-47
lines changed

2 files changed

+43
-47
lines changed

setup.cfg

Lines changed: 41 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,43 @@
11
[metadata]
2-
description-file = README.md
2+
name = pytest-testmon
3+
version = 1.1.3
4+
license = AGPL
5+
author_email = [email protected]
6+
author = Tibor Arpas, Tomas Matlovic, Daniel Hahler, Martin Racak
7+
description = selects tests affected by changed files and methods
8+
long_description = file: README.rst
9+
url = https://testmon.org
10+
platforms =
11+
linux
12+
osx
13+
win32
14+
classifiers =
15+
Development Status :: 4 - Beta
16+
Intended Audience :: Developers
17+
Operating System :: POSIX
18+
Operating System :: Microsoft :: Windows
19+
Operating System :: MacOS :: MacOS X
20+
Topic :: Software Development :: Testing
21+
Topic :: Software Development :: Libraries
22+
Topic :: Utilities
23+
Programming Language :: Python
24+
Programming Language :: Python :: 3.6
25+
Programming Language :: Python :: 3.7
26+
Programming Language :: Python :: 3.8
27+
Programming Language :: Python :: 3.9
28+
Programming Language :: Python :: 3 :: Only
29+
30+
[options]
31+
python_requires = >=3.6
32+
install_requires =
33+
pytest>=5,<7
34+
coverage>=4,<7
35+
packages =
36+
testmon
37+
38+
[options.entry_points]
39+
pytest11 =
40+
testmon = testmon.pytest_testmon
41+
tox =
42+
testmon = testmon.tox_testmon
343

4-
[flake8]
5-
ignore = E501,W504

setup.py

Lines changed: 2 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,4 @@
11
from setuptools import setup
22

3-
4-
long_description = "".join(open("README.rst").readlines())
5-
6-
7-
setup(
8-
name="pytest-testmon",
9-
description="selects tests affected by changed files and methods",
10-
long_description=long_description,
11-
version="1.1.2",
12-
license="AGPL",
13-
platforms=["linux", "osx", "win32"],
14-
packages=[
15-
"testmon",
16-
],
17-
url="https://testmon.org",
18-
author_email="[email protected]",
19-
author="Tibor Arpas, Tomas Matlovic, Daniel Hahler, Martin Racak",
20-
entry_points={
21-
"pytest11": [
22-
"testmon = testmon.pytest_testmon",
23-
],
24-
"tox": [
25-
"testmon = testmon.tox_testmon",
26-
],
27-
},
28-
python_requires=">=3.6",
29-
install_requires=["pytest>=5,<7", "coverage>=4,<7"],
30-
classifiers=[
31-
"Development Status :: 4 - Beta",
32-
"Intended Audience :: Developers",
33-
"Operating System :: POSIX",
34-
"Operating System :: Microsoft :: Windows",
35-
"Operating System :: MacOS :: MacOS X",
36-
"Topic :: Software Development :: Testing",
37-
"Topic :: Software Development :: Libraries",
38-
"Topic :: Utilities",
39-
"Programming Language :: Python",
40-
"Programming Language :: Python :: 3.6",
41-
"Programming Language :: Python :: 3.7",
42-
"Programming Language :: Python :: 3.8",
43-
"Programming Language :: Python :: 3.9",
44-
"Programming Language :: Python :: 3 :: Only",
45-
],
46-
)
3+
if __name__ == "__main__":
4+
setup()

0 commit comments

Comments
 (0)