-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.py
executable file
·54 lines (47 loc) · 1.65 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import codecs
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()
DEPENDENCIES = [
'pytest>=3.6',
]
DESCRIPTION = "py.test plugin to create a 'tmp_path' containing predefined files/directories."
LONG_DESCRIPTION = _read('README.rst') + '\n\n' + _read('CHANGELOG.rst')
setup(
name='pytest-datafiles',
version='3.0.0',
py_modules=['pytest_datafiles'],
url='https://github.com/omarkohl/pytest-datafiles',
license='MIT',
install_requires=DEPENDENCIES,
author='Omar Kohl',
author_email='[email protected]',
maintainer='Omar Kohl',
maintainer_email='[email protected]',
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type='text/x-rst',
entry_points={
'pytest11': ['pytest_datafiles = pytest_datafiles'],
},
keywords='pytest datafiles tmp_path',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Framework :: Pytest',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Topic :: Software Development :: Testing',
]
)