forked from AustinScola/pytest-motor
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
40 lines (34 loc) · 1.32 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
"""A build script using setuptools for the pytest motor package."""
import pathlib
from typing import List
import setuptools
_HERE = pathlib.Path(__file__).parent
_README = _HERE / 'README.md'
_LONG_DESCRIPTION = _README.read_text()
_VERSION_FILE = _HERE / 'VERSION.txt'
_VERSION = _VERSION_FILE.read_text()
_PACKAGES: List[str] = setuptools.find_packages(where=_HERE, include=['pytest_motor*'])
setuptools.setup(
name='pytest-motor',
version=_VERSION,
author='Austin Scola',
author_email='[email protected]',
description='A pytest plugin for motor, the non-blocking MongoDB driver.',
long_description=_LONG_DESCRIPTION,
long_description_content_type='text/markdown',
url='https://github.com/AustinScola/pytest-motor',
packages=_PACKAGES,
package_data={'pytest_motor': ['py.typed']},
entry_points={'pytest11': ['pytest_motor = pytest_motor.plugin']},
classifiers=[
'Development Status :: 3 - Alpha',
'Programming Language :: Python :: 3.6',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Framework :: Pytest',
'Topic :: Software Development :: Testing',
'Typing :: Typed',
],
python_requires='>=3.6',
install_requires=['pytest', 'pytest-asyncio', 'motor', 'aiohttp[speedups]', 'distro'],
)