forked from CERT-Polska/mwdblib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
37 lines (33 loc) · 1.02 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
#!/usr/bin/env python
from setuptools import setup
"""
We can't just import __version__ without installed dependencies
"""
version_info = {}
with open("vxdb/__version__.py") as f:
exec(f.read(), version_info)
setup(
name="vxdb",
version=version_info["__version__"],
description="virus.exchange API bindings for Python, based on MWDB.",
author="psrok1",
packages=["vxdb", "vxdb.api", "vxdb.cli", "vxdb.cli.formatters"],
package_data={"vxdb": ["py.typed"]},
url="https://github.com/backchannelinc/vxdb",
python_requires=">=3.7",
install_requires=["requests", "keyring>=18.0.0"],
extras_require={
"cli": [
"click>=7.0",
"click-default-group",
"beautifultable>=1.0.0",
"humanize>=0.5.1",
]
},
entry_points={"console_scripts": ["vxdb = vxdb.cli:main [cli]"]},
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
],
)