-
Notifications
You must be signed in to change notification settings - Fork 147
/
Copy pathsetup.py
52 lines (46 loc) · 1.74 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
47
48
49
50
51
52
#!/usr/bin/env python3
# -*- coding:utf-8 -*-
import os
import setuptools
from os import path
proj_dir = path.dirname(path.realpath(__file__))
about_file = path.join(proj_dir, "dumpall", "__version__.py")
about = {}
exec(open(about_file, "r", encoding="utf-8").read(), about)
long_description = open("README.md", "r", encoding="utf-8").read()
requirements = open("requirements.txt", "r", encoding="utf-8").read().splitlines()
setuptools.setup(
name=about["__title__"],
version=about["__version__"],
description=about["__description__"],
author=about["__author__"],
author_email=about["__author_email__"],
url=about["__url__"],
license=about["__license__"],
long_description=long_description,
long_description_content_type="text/markdown",
packages=setuptools.find_packages(),
package_data={"dumpall": ["data/user-agents-from-seclists.txt",]},
test_suite="tests",
entry_points={"console_scripts": ["dumpall = dumpall:main"]},
install_requires=requirements,
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Natural Language :: Chinese (Simplified)",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Internet",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Security",
"Topic :: Utilities",
],
)