Skip to content

Commit fa7b1e7

Browse files
committed
v0.9.0.
1 parent d6cde01 commit fa7b1e7

File tree

2 files changed

+21
-20
lines changed

2 files changed

+21
-20
lines changed

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ Only test coroutines will be affected (by default, coroutines prefixed by
176176
Changelog
177177
---------
178178

179-
0.9.0 (UNRELEASED)
179+
0.9.0 (2018-07-28)
180180
~~~~~~~~~~~~~~~~~~
181181
- Python 3.7 support.
182182
- Remove ``event_loop_process_pool`` fixture and

setup.py

+20-19
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,30 @@
55

66

77
def find_version():
8-
version_file = Path(__file__).parent.joinpath('pytest_asyncio', '__init__.py').read_text()
9-
version_match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]",
10-
version_file, re.M)
8+
version_file = (
9+
Path(__file__)
10+
.parent.joinpath("pytest_asyncio", "__init__.py")
11+
.read_text()
12+
)
13+
version_match = re.search(
14+
r"^__version__ = ['\"]([^'\"]*)['\"]", version_file, re.M
15+
)
1116
if version_match:
1217
return version_match.group(1)
1318

1419
raise RuntimeError("Unable to find version string.")
1520

1621

1722
setup(
18-
name='pytest-asyncio',
23+
name="pytest-asyncio",
1924
version=find_version(),
2025
packages=find_packages(),
21-
url='https://github.com/pytest-dev/pytest-asyncio',
22-
license='Apache 2.0',
23-
author='Tin Tvrtković',
24-
author_email='[email protected]',
25-
description='Pytest support for asyncio.',
26-
long_description=Path(__file__).parent.joinpath('README.rst').read_text(),
26+
url="https://github.com/pytest-dev/pytest-asyncio",
27+
license="Apache 2.0",
28+
author="Tin Tvrtković",
29+
author_email="[email protected]",
30+
description="Pytest support for asyncio.",
31+
long_description=Path(__file__).parent.joinpath("README.rst").read_text(),
2732
classifiers=[
2833
"Development Status :: 4 - Beta",
2934
"Intended Audience :: Developers",
@@ -34,15 +39,11 @@ def find_version():
3439
"Topic :: Software Development :: Testing",
3540
"Framework :: Pytest",
3641
],
37-
python_requires='>= 3.5',
38-
install_requires=[
39-
'pytest >= 3.0.6',
40-
],
42+
python_requires=">= 3.5",
43+
install_requires=["pytest >= 3.0.6"],
4144
extras_require={
42-
':python_version == "3.5"': 'async_generator >= 1.3',
43-
'testing': ['coverage', 'async_generator >= 1.3'],
45+
':python_version == "3.5"': "async_generator >= 1.3",
46+
"testing": ["coverage", "async_generator >= 1.3"],
4447
},
45-
entry_points={
46-
'pytest11': ['asyncio = pytest_asyncio.plugin'],
47-
}
48+
entry_points={"pytest11": ["asyncio = pytest_asyncio.plugin"]},
4849
)

0 commit comments

Comments
 (0)