Skip to content

Commit 890a833

Browse files
chore: fix setuptools include for conda package manager (#649)
1 parent 9d79662 commit 890a833

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import zipfile
2121
from pathlib import Path
2222

23-
import setuptools
23+
from setuptools import find_packages, setup
2424

2525
try:
2626
from auditwheel.wheeltools import InWheel
@@ -130,15 +130,15 @@ def run(self) -> None:
130130
print("auditwheel not installed, not updating RECORD file")
131131

132132

133-
setuptools.setup(
133+
setup(
134134
name="playwright",
135135
author="Microsoft Corporation",
136136
author_email="",
137137
description="A high-level API to automate web browsers",
138138
long_description=Path("README.md").read_text(encoding="utf-8"),
139139
long_description_content_type="text/markdown",
140140
url="https://github.com/Microsoft/playwright-python",
141-
packages=["playwright"],
141+
packages=find_packages(exclude=["tests*"]),
142142
include_package_data=True,
143143
install_requires=[
144144
"websockets>=8.1",

0 commit comments

Comments
 (0)