forked from microsoft/msticpy
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
102 lines (93 loc) · 2.95 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# -------------------------------------------------------------------------
# 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 = [
"adal>=1.2.2",
"attrs>=18.2.0",
"azure-common>=1.1.18",
"azure-cli-core==2.5.0",
"azure-core>=1.2.2",
"azure-identity>=1.3.0",
"azure-keyvault-secrets>=4.0.0",
"azure-mgmt-compute>=4.6.2",
"azure-mgmt-keyvault>=2.0.0",
"azure-mgmt-monitor>=0.5.2",
"azure-mgmt-network>=2.7.0",
"azure-mgmt-resource>=2.2.0,<=9.0.0",
"azure-mgmt-subscription>=0.2.0",
"beautifulsoup4>=4.6.3",
"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",
"keyring>=13.2.1",
"Kqlmagic>=0.1.106",
"matplotlib>=3.0.0",
"msal~=1.0.0",
"msrest>=0.6.0",
"msrestazure>=0.6.0",
"networkx>=2.2",
"numpy>=1.15.4",
"pandas>=0.25.0",
"pytz>=2019.2",
"pyyaml>=3.13",
"requests>=2.21.1",
"scikit-learn>=0.20.2",
"scipy>=1.1.0",
"seaborn>=0.9.0",
"setuptools>=40.6.3",
"statsmodels>=0.11.1",
"tldextract>=2.2.2",
"tqdm>=4.36.1",
"typing>=3.6.6",
"urllib3>=1.23",
]
with open("README.md", "r") as fh:
LONG_DESC = fh.read()
# pylint: disable=locally-disabled, invalid-name
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
with open("requirements.txt", "r") as fh:
INSTALL_REQUIRES = fh.readlines()
with open("requirements-dev.txt", "r") as fh:
INSTALL_DEV_REQUIRES = fh.readlines()
setuptools.setup(
name="msticpy",
version=__version__,
author="Ian Hellen",
author_email="[email protected]",
description="MSTIC Security Tools",
license="MIT License",
long_description=LONG_DESC,
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", "tests.*", "*.tests.*"]),
classifiers=[
"Programming Language :: Python :: 3.6",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Development Status :: 4 - Beta",
],
install_requires=INSTALL_REQUIRES,
extras_require={"dev": INSTALL_DEV_REQUIRES},
keywords=["security", "azure", "sentinel"],
zip_safe=False,
include_package_data=True,
)