加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
setup.py 1015 Bytes
一键复制 编辑 原始数据 按行查看 历史
Daniel Gatis 提交于 2021-01-30 10:33 . Update setup.py
import pathlib
from setuptools import find_packages, setup
here = pathlib.Path(__file__).parent.resolve()
long_description = (here / "README.md").read_text(encoding="utf-8")
with open("requirements.txt") as f:
requireds = f.read().splitlines()
setup(
name="rembg",
version="1.0.20",
description="Remove image background",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/danielgatis/rembg",
author="Daniel Gatis",
author_email="danielgatis@gmail.com",
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
],
keywords="remove, background, u2net",
package_dir={"": "src"},
packages=find_packages(where="src"),
python_requires=">=3.8, <4",
install_requires=requireds,
entry_points={
"console_scripts": [
"rembg=rembg.cmd.cli:main",
"rembg-server=rembg.cmd.server:main",
],
},
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化