|
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 |
| - |
7 | 1 | import os
|
8 | 2 | import pathlib
|
9 |
| - |
10 | 3 | from setuptools import find_packages, setup
|
11 | 4 |
|
12 | 5 | # The directory containing this file
|
|
15 | 8 | # The text of the README file
|
16 | 9 | README = (HERE / "README.md").read_text()
|
17 | 10 |
|
| 11 | +# Read the version from the pythreatmatrix package |
18 | 12 | with open(os.path.join("pythreatmatrix", "version.py"), "r") as f:
|
19 | 13 | exec(f.read())
|
20 | 14 |
|
|
34 | 28 | url=GITHUB_URL,
|
35 | 29 | author="Matteo Lodi",
|
36 | 30 | classifiers=[
|
37 |
| - # How mature is this project? Common values are |
38 |
| - # 3 - Alpha |
39 |
| - # 4 - Beta |
40 |
| - # 5 - Production/Stable |
41 | 31 | "Development Status :: 5 - Production/Stable",
|
42 |
| - # Indicate who your project is intended for |
43 | 32 | "Intended Audience :: Developers",
|
44 | 33 | "Environment :: Web Environment",
|
45 |
| - # Pick your license as you wish (should match "license" above) |
46 | 34 | "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
|
47 | 35 | "Programming Language :: Python :: 3.8",
|
48 | 36 | "Programming Language :: Python :: 3.9",
|
|
57 | 45 | "Documentation": GITHUB_URL,
|
58 | 46 | "Funding": "https://liberapay.com/KhulnaSoft/",
|
59 | 47 | "Source": GITHUB_URL,
|
60 |
| - "Tracker": "{}/issues".format(GITHUB_URL), |
| 48 | + "Tracker": f"{GITHUB_URL}/issues", |
61 | 49 | },
|
62 | 50 | 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] |
67 | 51 | extras_require={
|
68 | 52 | "dev": requirements_test + requirements,
|
69 | 53 | "test": requirements_test + requirements,
|
70 | 54 | },
|
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 | + }, |
76 | 60 | )
|
0 commit comments