-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
51 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
[build-system] | ||
build-backend = "setuptools.build_meta" | ||
requires = [ | ||
"setuptools>=75", | ||
] | ||
|
||
[project] | ||
name = "pytest-test-groups" | ||
description = "A Pytest plugin for running a subset of your tests by splitting them in to equally sized groups." | ||
readme = "README.rst" | ||
requires-python = ">=3.8" | ||
authors = [ | ||
{ name = "Mark Adams", email = "[email protected]" }, | ||
] | ||
maintainers = [ | ||
{ name = "Mark Adams", email = "[email protected]" }, | ||
] | ||
license = {file = "LICENSE"} | ||
classifiers = [ | ||
'Development Status :: 5 - Production/Stable', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: MIT License', | ||
'Operating System :: OS Independent', | ||
'Topic :: Software Development :: Testing', | ||
"Programming Language :: Python", | ||
'Programming Language :: Python :: 3', | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Programming Language :: Python :: 3.13", | ||
] | ||
dependencies = [ | ||
"pytest>=7.0.0", | ||
] | ||
dynamic = ["version"] | ||
|
||
[project.urls] | ||
Documentation = "https://github.com/mark-adams/pytest-test-groups" | ||
Repository = "https://github.com/mark-adams/pytest-test-groups" | ||
|
||
[project.entry-points.pytest11] | ||
test-groups = "pytest_test_groups" | ||
|
||
[tool.setuptools.dynamic] | ||
version = {attr = "pytest_test_groups.__version__"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
__version__ = '1.1.0' | ||
|
||
# Import python libs | ||
from random import Random | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,2 @@ | ||
[flake8] | ||
max-line-length = 119 | ||
|
||
[wheel] | ||
universal = true | ||
max-line-length = 119 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,3 @@ | ||
import codecs | ||
import os | ||
|
||
from setuptools import setup | ||
|
||
|
||
def read(fname): | ||
file_path = os.path.join(os.path.dirname(__file__), fname) | ||
return codecs.open(file_path, encoding='utf-8').read() | ||
|
||
|
||
setup( | ||
name="pytest-test-groups", | ||
description=('A Pytest plugin for running a subset of your tests by ' | ||
'splitting them in to equally sized groups.'), | ||
url='https://github.com/mark-adams/pytest-test-groups', | ||
author='Mark Adams', | ||
author_email='[email protected]', | ||
packages=['pytest_test_groups'], | ||
version='1.1.0', | ||
long_description=read('README.rst'), | ||
install_requires=['pytest>=8'], | ||
classifiers=[ | ||
'Development Status :: 5 - Production/Stable', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: MIT License', | ||
'Operating System :: OS Independent', | ||
'Programming Language :: Python', | ||
'Topic :: Software Development :: Testing', | ||
'Programming Language :: Python :: 3', | ||
], | ||
entry_points={ | ||
'pytest11': [ | ||
'test-groups = pytest_test_groups', | ||
] | ||
}, | ||
) | ||
setup() |