forked from ibmresilient/resilient-python-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
57 lines (49 loc) · 1.73 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# (c) Copyright IBM Corp. 2010, 2021. All Rights Reserved.
""" setup.py for resilient-sdk Python Module """
from os import path
import io
from setuptools import setup, find_packages
this_directory = path.abspath(path.dirname(__file__))
with io.open(path.join(this_directory, "README.md"), encoding="utf-8") as f:
long_description = f.read()
setup(
name="resilient_sdk",
use_scm_version={"root": "../", "relative_to": __file__},
setup_requires=[
"setuptools_scm < 6.0.0;python_version<'3.0'",
"setuptools_scm >= 6.0.0;python_version>='3.0'"
],
license="MIT",
packages=find_packages(),
include_package_data=True,
# Runtime Dependencies
install_requires=[
"resilient>=44.0.0",
"jinja2 ~= 2.0;python_version<'3.6'",
"jinja2 ~= 3.0;python_version>='3.6'",
"genson~=1.2"
],
# Add command line: resilient-sdk
entry_points={
"console_scripts": ["resilient-sdk=resilient_sdk.app:main"]
},
# PyPI metadata
author="IBM SOAR",
description="Python SDK for developing Apps for IBM SOAR",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/ibmresilient/resilient-python-api/tree/master/resilient-sdk",
project_urls={
"IBM Community": "https://ibm.biz/soarcommunity",
"Documentation": "https://ibm.biz/soar-python-docs",
"Change Log": "https://ibm.biz/resilient-sdk-changes"
},
classifiers=[
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.9"
],
keywords="ibm soar resilient circuits sdk resilient-sdk"
)