forked from jupe/pytest-lockable
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
66 lines (60 loc) · 2.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
"""A setuptools based setup module.
See:
https://packaging.python.org/guides/distributing-packages-using-setuptools/
https://github.com/pypa/sampleproject
"""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
from os import path
# io.open is needed for projects that support Python 2.7
# It ensures open() defaults to text mode with universal newlines,
# and accepts an argument to specify the text encoding
# Python 3 only projects can skip this import
from io import open
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='pytest-lockable',
use_scm_version=True,
setup_requires=["setuptools_scm"],
description='lockable resource plugin for pytest',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/jupe/pytest-lockable',
author='Jussi Vatjus-Anttila',
author_email='jussiva@gmail.com',
# Classifiers help users find your project by categorizing it.
# For a list of valid classifiers, see https://pypi.org/classifiers/
classifiers=[ # Optional
'Development Status :: 5 - Production/Stable',
"Framework :: Pytest",
'Intended Audience :: Developers',
"Operating System :: POSIX",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS :: MacOS X",
"Topic :: Software Development :: Quality Assurance",
"Topic :: Software Development :: Testing",
"Topic :: Utilities",
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.7',
"Programming Language :: Python :: 3 :: Only",
],
packages=find_packages(exclude=['tests']),
keywords="py.test pytest lockable resource",
python_requires='>=3.7, <4',
install_requires=[
'pytest',
'lockable==0.7.0'
],
extras_require={ # Optional
'dev': ['nose', 'coveralls', 'pylint', 'coverage'],
'optional': ['pytest-metadata']
},
project_urls={ # Optional
'Bug Reports': 'https://github.com/jupe/pytest-lockable',
'Source': 'https://github.com/jupe/pytest-lockable/',
}
)