File: setup.py

package info (click to toggle)
python-pytest-toolbox 0.4-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 196 kB
  • sloc: python: 391; makefile: 27; sh: 6
file content (43 lines) | stat: -rw-r--r-- 1,446 bytes parent folder | download | duplicates (2)
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
41
42
43
from importlib.machinery import SourceFileLoader
from pathlib import Path
from setuptools import setup

description = 'Numerous useful plugins for pytest.'
long_description = Path(__file__).resolve().parent.joinpath('README.rst').read_text()

# importing just this file avoids importing the full package with external dependencies which might not be installed
version = SourceFileLoader('version', 'pytest_toolbox/version.py').load_module()

setup(
    name='pytest-toolbox',
    version=str(version.VERSION),
    description=description,
    long_description=long_description,
    classifiers=[
        'Environment :: Console',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Topic :: Software Development :: Testing',
        'Framework :: Pytest',
    ],
    keywords='pytest,plugin,toolbox',
    author='Samuel Colvin',
    license='MIT',
    author_email='S@muelColvin.com',
    url='https://github.com/samuelcolvin/pytest-toolbox',
    packages=['pytest_toolbox'],
    include_package_data=True,
    zip_safe=True,
    platforms='any',
    python_requires='>=3.5',
    install_requires=[
        'pytest>=3.5.0',
    ],
    entry_points={
        'pytest11': ['toolbox = pytest_toolbox'],
    },
)