-
Notifications
You must be signed in to change notification settings - Fork 13
/
setup.py
58 lines (52 loc) · 1.87 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
# -------------------------------------------------------------------------
# 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 msticnb."""
import re
import setuptools
with open("requirements.txt", "r", encoding="utf-8") as fh:
INSTALL_REQUIRES = fh.readlines()
# pylint: disable=locally-disabled, invalid-name
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
with open("msticnb/_version.py", "r", encoding="utf-8") 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="msticnb",
version=__version__,
author="Ian Hellen",
author_email="[email protected]",
description="MSTIC Notebooklets",
license="MIT License",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/microsoft/msticnb",
project_urls={
"Documentation": "https://msticnb.readthedocs.io",
"Code": "https://github.com/microsoft/msticnb",
},
python_requires=">=3.6",
packages=setuptools.find_packages(exclude=["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,
keywords=[
"security",
"cybersecurity",
"infosec",
"jupyter",
"notebook",
"azure",
"sentinel",
],
zip_safe=False,
include_package_data=True,
)