1 Star 0 Fork 36

liaocq/feapder

forked from 博众科技/feapder 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
setup.py 2.05 KB
一键复制 编辑 原始数据 按行查看 历史
Boris 提交于 2023-09-14 17:06 . 修复自动下载浏览器问题
# -*- coding: utf-8 -*-
"""
Created on 2020/4/22 10:45 PM
---------
@summary:
---------
@author: Boris
"""
from os.path import dirname, join
from sys import version_info
import setuptools
if version_info < (3, 6, 0):
raise SystemExit("Sorry! feapder requires python 3.6.0 or later.")
with open(join(dirname(__file__), "feapder/VERSION"), "rb") as fh:
version = fh.read().decode("ascii").strip()
with open("README.md", "r", encoding="utf8") as fh:
long_description = fh.read()
packages = setuptools.find_packages()
packages.extend(
[
"feapder",
"feapder.templates",
"feapder.templates.project_template",
"feapder.templates.project_template.spiders",
"feapder.templates.project_template.items",
]
)
requires = [
"better-exceptions>=0.2.2",
"DBUtils>=2.0",
"parsel>=1.5.2",
"PyMySQL>=0.9.3",
"redis>=2.10.6,<4.0.0",
"requests>=2.22.0",
"bs4>=0.0.1",
"ipython>=7.14.0",
"cryptography>=3.3.2",
"urllib3>=1.25.8",
"loguru>=0.5.3",
"influxdb>=5.3.1",
"pyperclip>=1.8.2",
"terminal-layout>=2.1.3",
]
render_requires = [
"webdriver-manager>=4.0.0",
"playwright",
"selenium>=3.141.0",
]
all_requires = [
"bitarray>=1.5.3",
"PyExecJS>=1.5.1",
"pymongo>=3.10.1",
"redis-py-cluster>=2.1.0",
] + render_requires
setuptools.setup(
name="feapder",
version=version,
author="Boris",
license="MIT",
author_email="[email protected]",
python_requires=">=3.6",
description="feapder是一款支持分布式、批次采集、数据防丢、报警丰富的python爬虫框架",
long_description=long_description,
long_description_content_type="text/markdown",
install_requires=requires,
extras_require={"all": all_requires, "render": render_requires},
entry_points={"console_scripts": ["feapder = feapder.commands.cmdline:execute"]},
url="https://github.com/Boris-code/feapder.git",
packages=packages,
include_package_data=True,
classifiers=["Programming Language :: Python :: 3"],
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/liaocq/feapder.git
[email protected]:liaocq/feapder.git
liaocq
feapder
feapder
master

搜索帮助