-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathsetup.py
46 lines (39 loc) · 1.24 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
42
43
44
45
46
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from pathlib import Path
from setuptools import find_packages, setup
def get_requirements(name):
return (
open(Path(__file__).parent.joinpath(f"requirements/{name}.txt"))
.read()
.splitlines()
)
requirements = get_requirements("base")
test_requirements = get_requirements("tests")
setup(
name="detectem",
version="0.7.3",
description="Detect software in websites.",
author="Claudio Salazar",
author_email="[email protected]",
url="https://github.com/alertot/detectem",
packages=find_packages(exclude=("tests*", "docs")),
package_data={"detectem": ["data/*"]},
package_dir={"detectem": "detectem"},
entry_points={"console_scripts": ["det=detectem.cli:main"]},
include_package_data=True,
install_requires=requirements,
python_requires=">=3.6",
license="MIT",
zip_safe=False,
keywords="detector detection",
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
],
test_suite="tests",
tests_require=test_requirements,
)