forked from microsoft/playwright-pytest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
41 lines (39 loc) · 1.42 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
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",
license="Apache-2.0",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/microsoft/playwright-pytest",
packages=["pytest_playwright"],
include_package_data=True,
install_requires=[
"playwright>=1.18",
"pytest>=6.2.4,<8.0.0",
"pytest-base-url>=1.0.0,<3.0.0",
"python-slugify>=6.0.0,<9.0.0",
],
entry_points={"pytest11": ["playwright = pytest_playwright.pytest_playwright"]},
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Framework :: Pytest",
],
python_requires=">=3.8",
use_scm_version={
"version_scheme": "post-release",
"write_to": "pytest_playwright/_repo_version.py",
"write_to_template": 'version = "{version}"\n',
},
setup_requires=["setuptools_scm"],
)