1 Star 0 Fork 3

牧飞/denyhosts

forked from WayneHu/denyhosts 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
setup.py 1.49 KB
一键复制 编辑 原始数据 按行查看 历史
WayneHu 提交于 2014-11-17 17:50 . init
#!/usr/bin/env python
# Copyright 2005-2006 (C) Phil Schwartz <phil_schwartz@users.sourceforge.net>
from DenyHosts.version import VERSION
from distutils.core import setup
import os
import os.path
import sys
from glob import glob
libpath = "/usr/share/denyhosts"
scriptspath = "%s/scripts" % libpath
pluginspath = "%s/plugins" % libpath
#########################################################################
setup(name="DenyHosts",
version=VERSION,
description="DenyHosts is a utility to help sys admins thwart ssh hackers",
author="Phil Schwartz",
author_email="phil_schwartz@users.sourceforge.net",
url="http://denyhosts.sourceforge.net",
scripts=['denyhosts.py'],
package_dir={'DenyHosts': 'DenyHosts'},
packages=["DenyHosts"],
data_files=[(libpath, glob("denyhosts.cfg-dist")),
(libpath, glob("setup.py")),
(libpath, glob("daemon-control-dist")),
(libpath, glob("CHANGELOG.txt")),
(libpath, glob("README.txt")),
(scriptspath, glob("scripts/*")),
(pluginspath, glob("plugins/*")),
(libpath, glob("LICENSE.txt"))],
license="GPL v2",
##extra_path='denyhosts',
long_description="""
DenyHosts is a python program that automatically blocks ssh attacks by adding entries to
/etc/hosts.deny. DenyHosts will also inform Linux administrators about offending hosts, attacked
users and suspicious logins.
"""
)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/mufei/denyhosts.git
git@gitee.com:mufei/denyhosts.git
mufei
denyhosts
denyhosts
master

搜索帮助