Skip to content

Commit bd997a1

Browse files
authored
Update setup.py
Signed-off-by: gitworkflows <118260833+gitworkflows@users.noreply.github.com>
1 parent e369833 commit bd997a1

File tree

1 file changed

+7
-23
lines changed

1 file changed

+7
-23
lines changed

setup.py

+7-23
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
1-
"""
2-
# PyThreatMatrix
3-
Robust Python SDK and CLI for interacting with ThreatMatrix's API.
4-
## Docs & Example Usage: https://github.com/khulnasoft/pythreatmatrix
5-
"""
6-
71
import os
82
import pathlib
9-
103
from setuptools import find_packages, setup
114

125
# The directory containing this file
@@ -15,6 +8,7 @@
158
# The text of the README file
169
README = (HERE / "README.md").read_text()
1710

11+
# Read the version from the pythreatmatrix package
1812
with open(os.path.join("pythreatmatrix", "version.py"), "r") as f:
1913
exec(f.read())
2014

@@ -34,15 +28,9 @@
3428
url=GITHUB_URL,
3529
author="Matteo Lodi",
3630
classifiers=[
37-
# How mature is this project? Common values are
38-
# 3 - Alpha
39-
# 4 - Beta
40-
# 5 - Production/Stable
4131
"Development Status :: 5 - Production/Stable",
42-
# Indicate who your project is intended for
4332
"Intended Audience :: Developers",
4433
"Environment :: Web Environment",
45-
# Pick your license as you wish (should match "license" above)
4634
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
4735
"Programming Language :: Python :: 3.8",
4836
"Programming Language :: Python :: 3.9",
@@ -57,20 +45,16 @@
5745
"Documentation": GITHUB_URL,
5846
"Funding": "https://liberapay.com/KhulnaSoft/",
5947
"Source": GITHUB_URL,
60-
"Tracker": "{}/issues".format(GITHUB_URL),
48+
"Tracker": f"{GITHUB_URL}/issues",
6149
},
6250
keywords="threatmatrix sdk python command line osint threat intel malware",
63-
# List additional groups of dependencies here (e.g. development
64-
# dependencies). You can install these using the following syntax,
65-
# for example:
66-
# $ pip install -e .[dev,test]
6751
extras_require={
6852
"dev": requirements_test + requirements,
6953
"test": requirements_test + requirements,
7054
},
71-
# pip install --editable .
72-
entry_points="""
73-
[console_scripts]
74-
pythreatmatrix=pythreatmatrix.main:cli
75-
""",
55+
entry_points={
56+
"console_scripts": [
57+
"pythreatmatrix=pythreatmatrix.main:cli",
58+
],
59+
},
7660
)

0 commit comments

Comments
 (0)