1 Star 0 Fork 0

lr2000/多重攻击盲水印

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
setup.py 1.20 KB
一键复制 编辑 原始数据 按行查看 历史
guofei9987 提交于 2020-08-13 07:58 . version 0.4.0
from setuptools import setup, find_packages
from os import path as os_path
import blind_watermark
this_directory = os_path.abspath(os_path.dirname(__file__))
# 读取文件内容
def read_file(filename):
with open(os_path.join(this_directory, filename), encoding='utf-8') as f:
long_description = f.read()
return long_description
# 获取依赖
def read_requirements(filename):
return [line.strip() for line in read_file(filename).splitlines()
if not line.startswith('#')]
setup(name='blind_watermark',
python_requires='>=3.5',
version=blind_watermark.__version__,
description='Blind Watermark in Python',
long_description=read_file('docs/en/README.md'),
long_description_content_type="text/markdown",
url='https://github.com/guofei9987/blind_watermark',
author='Guo Fei',
author_email='guofei9987@foxmail.com',
license='MIT',
packages=find_packages(),
platforms=['linux', 'windows', 'macos'],
install_requires=['numpy', 'opencv-python', 'PyWavelets'],
zip_safe=False,
entry_points={
'console_scripts': [
'blind_watermark = blind_watermark.cli_tools:main'
]
})
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/lr2001/blind_watermark.git
git@gitee.com:lr2001/blind_watermark.git
lr2001
blind_watermark
多重攻击盲水印
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385