-
Notifications
You must be signed in to change notification settings - Fork 78
/
Copy pathsetup.py
54 lines (47 loc) · 1.34 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
#!/usr/bin/env python3
# coding: utf-8
"""
Demisto SDK
"""
from setuptools import find_packages, setup # noqa: H301
NAME = "demisto-sdk"
# To install the library, run the following
#
# python setup.py install
#
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
with open('requirements.txt') as f:
requirements = f.read().splitlines()
with open('README.md', 'r') as f:
readme = f.read()
setup(
use_scm_version={
'local_scheme': lambda a: ""
},
setup_requires=['setuptools_scm'],
name=NAME,
description="A Python library for the Demisto SDK",
author_email="",
url="https://github.com/demisto/demisto-sdk",
keywords=["Demisto"],
install_requires=requirements,
packages=find_packages(),
include_package_data=True,
entry_points={
'console_scripts': ['demisto-sdk = demisto_sdk.__main__:main']
},
long_description=readme,
long_description_content_type='text/markdown',
license='MIT',
classifiers=[
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: Implementation :: CPython'
],
python_requires=">=3.7",
author="Demisto"
)