2020-08-03 19:40:46 +03:00
|
|
|
import setuptools
|
|
|
|
|
|
|
|
with open("README.md", "r", encoding="utf-8") as fh:
|
|
|
|
long_description = fh.read()
|
|
|
|
|
|
|
|
setuptools.setup(
|
|
|
|
name="pytest-playwright",
|
|
|
|
author="Microsoft",
|
|
|
|
author_email="",
|
|
|
|
description="A pytest wrapper with fixtures for Playwright to automate web browsers",
|
2022-11-03 23:23:50 +03:00
|
|
|
license="Apache-2.0",
|
2020-08-03 19:40:46 +03:00
|
|
|
long_description=long_description,
|
|
|
|
long_description_content_type="text/markdown",
|
|
|
|
url="https://github.com/microsoft/playwright-pytest",
|
|
|
|
packages=["pytest_playwright"],
|
|
|
|
include_package_data=True,
|
2021-07-29 12:17:19 +03:00
|
|
|
install_requires=[
|
2022-02-21 16:01:36 +03:00
|
|
|
"playwright>=1.18",
|
2024-02-01 02:26:20 +03:00
|
|
|
"pytest>=6.2.4,<9.0.0",
|
2022-07-29 01:35:38 +03:00
|
|
|
"pytest-base-url>=1.0.0,<3.0.0",
|
2023-04-05 11:53:30 +03:00
|
|
|
"python-slugify>=6.0.0,<9.0.0",
|
2021-07-29 12:17:19 +03:00
|
|
|
],
|
2020-08-03 19:40:46 +03:00
|
|
|
entry_points={"pytest11": ["playwright = pytest_playwright.pytest_playwright"]},
|
|
|
|
classifiers=[
|
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
"Programming Language :: Python :: 3.8",
|
2020-11-06 01:53:38 +03:00
|
|
|
"Programming Language :: Python :: 3.9",
|
2022-07-27 10:49:12 +03:00
|
|
|
"Programming Language :: Python :: 3.10",
|
2022-10-28 20:37:38 +03:00
|
|
|
"Programming Language :: Python :: 3.11",
|
2020-08-03 19:40:46 +03:00
|
|
|
"License :: OSI Approved :: Apache Software License",
|
|
|
|
"Operating System :: OS Independent",
|
|
|
|
"Framework :: Pytest",
|
|
|
|
],
|
2023-07-18 19:50:52 +03:00
|
|
|
python_requires=">=3.8",
|
2020-08-03 19:40:46 +03:00
|
|
|
use_scm_version={
|
|
|
|
"version_scheme": "post-release",
|
|
|
|
"write_to": "pytest_playwright/_repo_version.py",
|
|
|
|
"write_to_template": 'version = "{version}"\n',
|
|
|
|
},
|
|
|
|
setup_requires=["setuptools_scm"],
|
|
|
|
)
|