DrissionPage/setup.py
g1879 bff8d6ba73 4.0.0b35(+)
优化查找浏览器方法;
监听器增加资源类型筛选;
监听器增加fail_info和is_failed属性;
调整set_targets()和start()参数默认值;
blocked_urls()可接收str
2024-01-07 21:27:33 +08:00

44 lines
1.2 KiB
Python

# -*- coding:utf-8 -*-
from setuptools import setup, find_packages
with open("README.md", "r", encoding='utf-8') as fh:
long_description = fh.read()
setup(
name="DrissionPage",
version="4.0.0b35",
author="g1879",
author_email="g1879@qq.com",
description="Python based web automation tool. It can control the browser and send and receive data packets.",
long_description=long_description,
long_description_content_type="text/markdown",
license="BSD",
keywords="DrissionPage",
url="https://gitee.com/g1879/DrissionPage",
include_package_data=True,
packages=find_packages(),
zip_safe=False,
install_requires=[
'lxml',
'requests',
'cssselect',
'DownloadKit>=2.0.0b5',
'websocket-client>=1.7.0',
'click',
'tldextract',
'psutil'
],
classifiers=[
"Programming Language :: Python :: 3.8",
"Development Status :: 4 - Beta",
"Topic :: Utilities",
"License :: OSI Approved :: BSD License",
],
python_requires='>=3.8',
entry_points={
'console_scripts': [
'dp = DrissionPage.commons.cli:main',
],
},
)