forked from microsoft/msticpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
79 lines (72 loc) · 2.3 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# -------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# --------------------------------------------------------------------------
"""Setup script for msticpy."""
import re
import setuptools
INSTALL_REQUIRES = [
"attrs>=18.2.0",
"azure-common>=1.1.23",
"azure-mgmt-resource>=2.2.0",
"azure-mgmt-subscription>=0.2.0",
"bokeh>=1.4.0",
"cryptography>=2.8",
"deprecated>=1.2.4",
"dnspython>=1.16.0",
"folium>=0.9.0",
"geoip2>=2.9.0",
"ipwhois>=1.1.0",
"ipython>=7.1.1",
"ipywidgets>=7.4.2",
"Kqlmagic>=0.1.106",
"matplotlib>=3.0.0",
"networkx>=2.2",
"numpy>=1.15.4",
"pandas>=0.24.0",
"pytz>=2019.2",
"pyyaml>=5.1.2",
"requests>=2.21.1",
"scikit_learn>=0.20.2",
"seaborn>=0.9.0",
"setuptools>=40.6.2",
"tldextract>=2.2.2",
"tqdm>=4.36.1",
"typing>=3.6.6",
"urllib3>=1.24.1",
]
# pylint: disable=locally-disabled, invalid-name
with open("README.md", "r") as fh:
long_description = fh.read()
with open("msticpy/_version.py", "r") as fd:
v_match = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE)
__version__ = v_match.group(1) if v_match else "no version"
# pylint: enable=locally-disabled, invalid-name
setuptools.setup(
name="msticpy",
version=__version__,
author="Ian Hellen",
author_email="[email protected]",
description="MSTIC Security Tools",
license="MIT License",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/microsoft/msticpy",
project_urls={
"Documentation": "https://msticpy.readthedocs.io",
"Code": "https://github.com/microsoft/msticpy",
},
python_requires=">=3.6",
packages=setuptools.find_packages(exclude=["*.tests"]),
classifiers=[
"Programming Language :: Python :: 3.6",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Development Status :: 4 - Beta",
],
install_requires=INSTALL_REQUIRES,
keywords=["security", "azure", "sentinel"],
zip_safe=False,
include_package_data=True,
)