Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 0 additions & 32 deletions .github/workflows/publish.yml

This file was deleted.

4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,4 @@ env/
htmlcov/
.coverage
.DS_Store
.vscode/
.eggs
_repo_version.py
.vscode/
1 change: 0 additions & 1 deletion local-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@ wheel==0.34.2
black==19.10b0
pre-commit==2.6.0
flake8==3.8.3
twine==3.2.0
1 change: 0 additions & 1 deletion playwright/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from playwright._repo_version import version as __version__ # noqa:F401
from playwright.main import playwright_object
import playwright.helper as helper

Expand Down
11 changes: 3 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,16 @@

setuptools.setup(
name="playwright",
version="0.0.3",
author="Microsoft Corporation",
author_email="",
description="A high-level API to automate web browsers",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Microsoft/playwright-python",
packages=["playwright"],
packages=setuptools.find_packages(),
include_package_data=True,
install_requires=["pyee", "typing-extensions"],
install_requires=["pyee", "typing-extensions",],
classifiers=[
"Topic :: Software Development :: Testing",
"Topic :: Internet :: WWW/HTTP :: Browsers",
Expand All @@ -39,10 +40,4 @@
"Operating System :: OS Independent",
],
python_requires=">=3.7",
use_scm_version={
"version_scheme": "post-release",
"write_to": "playwright/_repo_version.py",
"write_to_template": 'version = "{version}"\n',
},
setup_requires=["setuptools_scm"],
)
17 changes: 17 additions & 0 deletions upload_package.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright (c) Microsoft Corporation.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

import subprocess

subprocess.run("python -m twine upload dist/*", shell=True)