-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathsetup.py
41 lines (41 loc) · 1.88 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#! /usr/bin/env python3
from setuptools import setup, find_packages
import pathlib
import sys
# The directory containing this file
HERE = pathlib.Path(__file__).parent
# About the project
ABOUT = {}
exec((HERE / "wpwatcher" / "__version__.py").read_text(), ABOUT)
# The text of the README file
README = (HERE / "README.md").read_text()
setup(
name = ABOUT['__title__'],
description = ABOUT['__description__'],
url = ABOUT['__url__'],
maintainer = ABOUT['__author__'],
version = ABOUT['__version__'],
packages = find_packages(exclude=('tests')),
entry_points = {'console_scripts': ['wpwatcher = wpwatcher.cli:main'],},
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Information Technology",
"Environment :: Console",
"Topic :: Security",
"Topic :: Utilities",
"Topic :: System :: Monitoring",
"Programming Language :: Python :: 3",
"Typing :: Typed",
"License :: OSI Approved :: Apache Software License", ],
license = ABOUT['__license__'],
long_description = README,
long_description_content_type = "text/markdown",
python_requires = '>=3.6',
install_requires = ['wpscan-out-parse>=1.9.1',
# filelock dropped support for python 3.6 in version 3.4.2 https://github.com/tox-dev/py-filelock/pull/125
'filelock<3.4.2' if sys.version_info < (3,7) else 'filelock', ],
extras_require = {'syslog' : ['rfc5424-logging-handler', 'cefevent'],
'docs': ["Sphinx", "recommonmark"],
'dev': ["pytest", "pytest-cov", "codecov", "coverage", "tox", "mypy"]},
keywords = ABOUT['__keywords__'],
)