This repository was archived by the owner on Aug 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
33 lines (31 loc) · 1.2 KB
/
setup.py
File metadata and controls
33 lines (31 loc) · 1.2 KB
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
import setuptools
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setuptools.setup(
name="pytest-playwright",
author="Max Schmitt",
author_email="max@schmitt.mx",
description="A pytest wrapper with fixtures for Playwright to automate web browsers",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/mxschmitt/pytest-playwright",
packages=["pytest_playwright"],
include_package_data=True,
install_requires=["playwright==0.0.4", "pytest", "pytest-base-url"],
entry_points={"pytest11": ["playwright = pytest_playwright.pytest_playwright"]},
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Framework :: Pytest",
],
python_requires=">=3.7",
use_scm_version={
"version_scheme": "post-release",
"write_to": "pytest_playwright/_repo_version.py",
"write_to_template": 'version = "{version}"\n',
},
setup_requires=["setuptools_scm"],
)