-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
76 lines (68 loc) · 2.4 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
67
68
69
70
71
72
73
74
75
76
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import pathlib
from setuptools import setup, find_packages
HERE = pathlib.Path(__file__).parent
PACKAGE_VERSION = "0.2.2"
PACKAGE_NAME = "pytest-qatouch"
PACKAGE_AUTHOR = "Mohamed Raslan"
PACKAGE_AUTHOR_EMAIL = "[email protected]"
PACKAGE_REPO_URL = "https://github.com/MohamedRaslan/pytest-qatouch"
PACKAGE_DESCRIPTION = "Pytest plugin for uploading test results to your QA Touch Testrun."
with open("README.md", "r", encoding="utf-8") as file:
LONG_DESCRIPTION = file.read()
LONG_DESC_TYPE = "text/markdown"
# Pakage and development requirements
PKG_REQUIREMENTS = ["pytest>=6.2.0", "requests>=2.25.1"]
DEV_REQUIREMENTS = ["bump2version>=1.0.1", "pytest-cov>=2.12.1", "responses>=0.13.3"]
setup(
name=PACKAGE_NAME,
version=PACKAGE_VERSION,
author=PACKAGE_AUTHOR,
author_email=PACKAGE_AUTHOR_EMAIL,
url=PACKAGE_REPO_URL,
description=PACKAGE_DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type=LONG_DESC_TYPE,
py_modules=["pytest_pyqatouch"],
python_requires=">=3.7",
install_requires=PKG_REQUIREMENTS,
extras_require={"dev": DEV_REQUIREMENTS},
packages=find_packages("src"),
package_dir={"": "src"},
include_package_data=True,
project_urls={
"Source": PACKAGE_REPO_URL,
"Tracker": PACKAGE_REPO_URL + "/issues",
},
keywords=[
"qatouch",
"pytest",
"pytest-qatouch",
"pytest-pyqatouch",
],
license="MIT License",
classifiers=[
"Development Status :: 4 - Beta",
"Framework :: Pytest",
"Environment :: Plugins",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Testing",
"Topic :: Software Development :: Quality Assurance",
"License :: OSI Approved :: MIT License",
],
entry_points={
"pytest11": [
"pyqatouch = pytest_qatouch.plugin",
],
},
)