-
Notifications
You must be signed in to change notification settings - Fork 13
/
setup.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("mwdblib/__version__.py") as f:
exec(f.read(), version_info)
setup(
name="mwdblib",
version=version_info["__version__"],
description="MWDB API bindings for Python",
author="psrok1",
packages=["mwdblib", "mwdblib.api", "mwdblib.cli", "mwdblib.cli.formatters"],
package_data={"mwdblib": ["py.typed"]},
url="https://github.com/CERT-Polska/mwdblib",
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": ["mwdb = mwdblib.cli:main [cli]"]},
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
],
)